/* Options: Date: 2024-10-18 04:18:13 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: GetAllowedSidestepProcesses.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DocumentAttachment implements IConvertible { String? ID; String? Title; String? DownloadName; String? LinkTypeDescription; bool? IsPrefferedDocument; bool? IsMainDocument; String? Link; String? DetailUrl; DocumentAttachment({this.ID,this.Title,this.DownloadName,this.LinkTypeDescription,this.IsPrefferedDocument,this.IsMainDocument,this.Link,this.DetailUrl}); DocumentAttachment.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Title = json['Title']; DownloadName = json['DownloadName']; LinkTypeDescription = json['LinkTypeDescription']; IsPrefferedDocument = json['IsPrefferedDocument']; IsMainDocument = json['IsMainDocument']; Link = json['Link']; DetailUrl = json['DetailUrl']; return this; } Map toJson() => { 'ID': ID, 'Title': Title, 'DownloadName': DownloadName, 'LinkTypeDescription': LinkTypeDescription, 'IsPrefferedDocument': IsPrefferedDocument, 'IsMainDocument': IsMainDocument, 'Link': Link, 'DetailUrl': DetailUrl }; getTypeName() => "DocumentAttachment"; TypeContext? context = _ctx; } class Node implements IConvertible { String? EntityName; String? ID; String? ParentID; String? Title; int? Count; String? ImageKey; bool? Expanded; bool? Selected; String? DisplayPath; List? ChildNodes; String? RegistrationPathElement; String? QueryPathElement; String? Path; bool? IsHierarchy; Node({this.EntityName,this.ID,this.ParentID,this.Title,this.Count,this.ImageKey,this.Expanded,this.Selected,this.DisplayPath,this.ChildNodes,this.RegistrationPathElement,this.QueryPathElement,this.Path,this.IsHierarchy}); Node.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EntityName = json['EntityName']; ID = json['ID']; ParentID = json['ParentID']; Title = json['Title']; Count = json['Count']; ImageKey = json['ImageKey']; Expanded = json['Expanded']; Selected = json['Selected']; DisplayPath = json['DisplayPath']; ChildNodes = JsonConverters.fromJson(json['ChildNodes'],'List',context!); RegistrationPathElement = json['RegistrationPathElement']; QueryPathElement = json['QueryPathElement']; Path = json['Path']; IsHierarchy = json['IsHierarchy']; return this; } Map toJson() => { 'EntityName': EntityName, 'ID': ID, 'ParentID': ParentID, 'Title': Title, 'Count': Count, 'ImageKey': ImageKey, 'Expanded': Expanded, 'Selected': Selected, 'DisplayPath': DisplayPath, 'ChildNodes': JsonConverters.toJson(ChildNodes,'List',context!), 'RegistrationPathElement': RegistrationPathElement, 'QueryPathElement': QueryPathElement, 'Path': Path, 'IsHierarchy': IsHierarchy }; getTypeName() => "Node"; TypeContext? context = _ctx; } class Explorer implements IConvertible { String? ID; String? Title; int? Order; Explorer({this.ID,this.Title,this.Order}); Explorer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Title = json['Title']; Order = json['Order']; return this; } Map toJson() => { 'ID': ID, 'Title': Title, 'Order': Order }; getTypeName() => "Explorer"; TypeContext? context = _ctx; } class OutlookContactItem implements IConvertible { String? GlobalID; bool? Inactief; String? Title; String? FirstName; String? MiddleName; String? LastName; String? FullName; String? Suffix; DateTime? Birthday; String? Gender; String? Categories; String? CompanyName; String? BusinessAddressStreet; String? BusinessAddressPostalCode; String? BusinessAddressCity; String? BusinessAddressCountry; String? OtherAddressStreet; String? OtherAddressPostalCode; String? OtherAddressCity; String? OtherAddressCountry; String? Home2TelephoneNumber; String? HomeAddressStreet; String? HomeAddressPostalCode; String? HomeAddressCity; String? HomeAddressCountry; String? BusinessTelephoneNumber; String? Business2TelephoneNumber; String? MobileTelephoneNumber; String? HomeTelephoneNumber; String? Department; String? JobTitle; String? Profession; String? Email1Address; String? Email1DisplayName; String? Email2Address; String? Email2DisplayName; String? Email3Address; String? Email3DisplayName; String? BusinessHomePage; String? FileAs; String? Spouse; String? User1; String? User2; String? User3; String? User4; String? ImageID; DateTime? ImageLastUpdate; String? BusinessFaxNumber; String? OtherFaxNumber; String? HomeFaxNumber; OutlookContactItem({this.GlobalID,this.Inactief,this.Title,this.FirstName,this.MiddleName,this.LastName,this.FullName,this.Suffix,this.Birthday,this.Gender,this.Categories,this.CompanyName,this.BusinessAddressStreet,this.BusinessAddressPostalCode,this.BusinessAddressCity,this.BusinessAddressCountry,this.OtherAddressStreet,this.OtherAddressPostalCode,this.OtherAddressCity,this.OtherAddressCountry,this.Home2TelephoneNumber,this.HomeAddressStreet,this.HomeAddressPostalCode,this.HomeAddressCity,this.HomeAddressCountry,this.BusinessTelephoneNumber,this.Business2TelephoneNumber,this.MobileTelephoneNumber,this.HomeTelephoneNumber,this.Department,this.JobTitle,this.Profession,this.Email1Address,this.Email1DisplayName,this.Email2Address,this.Email2DisplayName,this.Email3Address,this.Email3DisplayName,this.BusinessHomePage,this.FileAs,this.Spouse,this.User1,this.User2,this.User3,this.User4,this.ImageID,this.ImageLastUpdate,this.BusinessFaxNumber,this.OtherFaxNumber,this.HomeFaxNumber}); OutlookContactItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { GlobalID = json['GlobalID']; Inactief = json['Inactief']; Title = json['Title']; FirstName = json['FirstName']; MiddleName = json['MiddleName']; LastName = json['LastName']; FullName = json['FullName']; Suffix = json['Suffix']; Birthday = JsonConverters.fromJson(json['Birthday'],'DateTime',context!); Gender = json['Gender']; Categories = json['Categories']; CompanyName = json['CompanyName']; BusinessAddressStreet = json['BusinessAddressStreet']; BusinessAddressPostalCode = json['BusinessAddressPostalCode']; BusinessAddressCity = json['BusinessAddressCity']; BusinessAddressCountry = json['BusinessAddressCountry']; OtherAddressStreet = json['OtherAddressStreet']; OtherAddressPostalCode = json['OtherAddressPostalCode']; OtherAddressCity = json['OtherAddressCity']; OtherAddressCountry = json['OtherAddressCountry']; Home2TelephoneNumber = json['Home2TelephoneNumber']; HomeAddressStreet = json['HomeAddressStreet']; HomeAddressPostalCode = json['HomeAddressPostalCode']; HomeAddressCity = json['HomeAddressCity']; HomeAddressCountry = json['HomeAddressCountry']; BusinessTelephoneNumber = json['BusinessTelephoneNumber']; Business2TelephoneNumber = json['Business2TelephoneNumber']; MobileTelephoneNumber = json['MobileTelephoneNumber']; HomeTelephoneNumber = json['HomeTelephoneNumber']; Department = json['Department']; JobTitle = json['JobTitle']; Profession = json['Profession']; Email1Address = json['Email1Address']; Email1DisplayName = json['Email1DisplayName']; Email2Address = json['Email2Address']; Email2DisplayName = json['Email2DisplayName']; Email3Address = json['Email3Address']; Email3DisplayName = json['Email3DisplayName']; BusinessHomePage = json['BusinessHomePage']; FileAs = json['FileAs']; Spouse = json['Spouse']; User1 = json['User1']; User2 = json['User2']; User3 = json['User3']; User4 = json['User4']; ImageID = json['ImageID']; ImageLastUpdate = JsonConverters.fromJson(json['ImageLastUpdate'],'DateTime',context!); BusinessFaxNumber = json['BusinessFaxNumber']; OtherFaxNumber = json['OtherFaxNumber']; HomeFaxNumber = json['HomeFaxNumber']; return this; } Map toJson() => { 'GlobalID': GlobalID, 'Inactief': Inactief, 'Title': Title, 'FirstName': FirstName, 'MiddleName': MiddleName, 'LastName': LastName, 'FullName': FullName, 'Suffix': Suffix, 'Birthday': JsonConverters.toJson(Birthday,'DateTime',context!), 'Gender': Gender, 'Categories': Categories, 'CompanyName': CompanyName, 'BusinessAddressStreet': BusinessAddressStreet, 'BusinessAddressPostalCode': BusinessAddressPostalCode, 'BusinessAddressCity': BusinessAddressCity, 'BusinessAddressCountry': BusinessAddressCountry, 'OtherAddressStreet': OtherAddressStreet, 'OtherAddressPostalCode': OtherAddressPostalCode, 'OtherAddressCity': OtherAddressCity, 'OtherAddressCountry': OtherAddressCountry, 'Home2TelephoneNumber': Home2TelephoneNumber, 'HomeAddressStreet': HomeAddressStreet, 'HomeAddressPostalCode': HomeAddressPostalCode, 'HomeAddressCity': HomeAddressCity, 'HomeAddressCountry': HomeAddressCountry, 'BusinessTelephoneNumber': BusinessTelephoneNumber, 'Business2TelephoneNumber': Business2TelephoneNumber, 'MobileTelephoneNumber': MobileTelephoneNumber, 'HomeTelephoneNumber': HomeTelephoneNumber, 'Department': Department, 'JobTitle': JobTitle, 'Profession': Profession, 'Email1Address': Email1Address, 'Email1DisplayName': Email1DisplayName, 'Email2Address': Email2Address, 'Email2DisplayName': Email2DisplayName, 'Email3Address': Email3Address, 'Email3DisplayName': Email3DisplayName, 'BusinessHomePage': BusinessHomePage, 'FileAs': FileAs, 'Spouse': Spouse, 'User1': User1, 'User2': User2, 'User3': User3, 'User4': User4, 'ImageID': ImageID, 'ImageLastUpdate': JsonConverters.toJson(ImageLastUpdate,'DateTime',context!), 'BusinessFaxNumber': BusinessFaxNumber, 'OtherFaxNumber': OtherFaxNumber, 'HomeFaxNumber': HomeFaxNumber }; getTypeName() => "OutlookContactItem"; TypeContext? context = _ctx; } class Printer implements IConvertible { int? ID; String? Description; int? InternalCompanyID; int? BinLogo; int? BinBlank; int? BinFollow; int? BinExtra; int? BinLabel; Printer({this.ID,this.Description,this.InternalCompanyID,this.BinLogo,this.BinBlank,this.BinFollow,this.BinExtra,this.BinLabel}); Printer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Description = json['Description']; InternalCompanyID = json['InternalCompanyID']; BinLogo = json['BinLogo']; BinBlank = json['BinBlank']; BinFollow = json['BinFollow']; BinExtra = json['BinExtra']; BinLabel = json['BinLabel']; return this; } Map toJson() => { 'ID': ID, 'Description': Description, 'InternalCompanyID': InternalCompanyID, 'BinLogo': BinLogo, 'BinBlank': BinBlank, 'BinFollow': BinFollow, 'BinExtra': BinExtra, 'BinLabel': BinLabel }; getTypeName() => "Printer"; TypeContext? context = _ctx; } abstract class UserOrGroup { int? ID; String? Title; bool? IsChecked; String? Image; UserOrGroup({this.ID,this.Title,this.IsChecked,this.Image}); UserOrGroup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Title = json['Title']; IsChecked = json['IsChecked']; Image = json['Image']; return this; } Map toJson() => { 'ID': ID, 'Title': Title, 'IsChecked': IsChecked, 'Image': Image }; getTypeName() => "UserOrGroup"; TypeContext? context = _ctx; } class User extends UserOrGroup implements IConvertible { String? Image; User({this.Image}); User.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Image = json['Image']; return this; } Map toJson() => super.toJson()..addAll({ 'Image': Image }); getTypeName() => "User"; TypeContext? context = _ctx; } class LinkedDocument implements IConvertible { String? ID; String? EntityTitle; String? DocumentID; String? DocumentNumber; String? DocumentVersion; bool? DocumentMostRecentVersion; int? ShippingFormID; String? DocumentTitle; DateTime? DocumentDate; String? DocumentUserTitle; String? FileUrl; String? FileType; LinkedDocument({this.ID,this.EntityTitle,this.DocumentID,this.DocumentNumber,this.DocumentVersion,this.DocumentMostRecentVersion,this.ShippingFormID,this.DocumentTitle,this.DocumentDate,this.DocumentUserTitle,this.FileUrl,this.FileType}); LinkedDocument.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; EntityTitle = json['EntityTitle']; DocumentID = json['DocumentID']; DocumentNumber = json['DocumentNumber']; DocumentVersion = json['DocumentVersion']; DocumentMostRecentVersion = json['DocumentMostRecentVersion']; ShippingFormID = json['ShippingFormID']; DocumentTitle = json['DocumentTitle']; DocumentDate = JsonConverters.fromJson(json['DocumentDate'],'DateTime',context!); DocumentUserTitle = json['DocumentUserTitle']; FileUrl = json['FileUrl']; FileType = json['FileType']; return this; } Map toJson() => { 'ID': ID, 'EntityTitle': EntityTitle, 'DocumentID': DocumentID, 'DocumentNumber': DocumentNumber, 'DocumentVersion': DocumentVersion, 'DocumentMostRecentVersion': DocumentMostRecentVersion, 'ShippingFormID': ShippingFormID, 'DocumentTitle': DocumentTitle, 'DocumentDate': JsonConverters.toJson(DocumentDate,'DateTime',context!), 'DocumentUserTitle': DocumentUserTitle, 'FileUrl': FileUrl, 'FileType': FileType }; getTypeName() => "LinkedDocument"; TypeContext? context = _ctx; } class Bookmark implements IConvertible { bool? RemoveLastBreak; bool? ReplaceOnChange; bool? IsDynamic; Bookmark({this.RemoveLastBreak,this.ReplaceOnChange,this.IsDynamic}); Bookmark.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RemoveLastBreak = json['RemoveLastBreak']; ReplaceOnChange = json['ReplaceOnChange']; IsDynamic = json['IsDynamic']; return this; } Map toJson() => { 'RemoveLastBreak': RemoveLastBreak, 'ReplaceOnChange': ReplaceOnChange, 'IsDynamic': IsDynamic }; getTypeName() => "Bookmark"; TypeContext? context = _ctx; } class SignatureSubstitute implements IConvertible { String? DocFieldID; String? Name; bool? IsCurrentUser; SignatureSubstitute({this.DocFieldID,this.Name,this.IsCurrentUser}); SignatureSubstitute.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocFieldID = json['DocFieldID']; Name = json['Name']; IsCurrentUser = json['IsCurrentUser']; return this; } Map toJson() => { 'DocFieldID': DocFieldID, 'Name': Name, 'IsCurrentUser': IsCurrentUser }; getTypeName() => "SignatureSubstitute"; TypeContext? context = _ctx; } class Bookmark implements IConvertible { String? Name; int? Order; Bookmark({this.Name,this.Order}); Bookmark.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; Order = json['Order']; return this; } Map toJson() => { 'Name': Name, 'Order': Order }; getTypeName() => "Bookmark"; TypeContext? context = _ctx; } class Project implements IConvertible { int? ID; String? GlobalID; String? Number; String? Name; String? Description1; String? Description2; String? City; bool? Active; Project({this.ID,this.GlobalID,this.Number,this.Name,this.Description1,this.Description2,this.City,this.Active}); Project.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; GlobalID = json['GlobalID']; Number = json['Number']; Name = json['Name']; Description1 = json['Description1']; Description2 = json['Description2']; City = json['City']; Active = json['Active']; return this; } Map toJson() => { 'ID': ID, 'GlobalID': GlobalID, 'Number': Number, 'Name': Name, 'Description1': Description1, 'Description2': Description2, 'City': City, 'Active': Active }; getTypeName() => "Project"; TypeContext? context = _ctx; } class ProjectMember implements IConvertible { int? ID; String? GlobalID; int? PersonID; String? PersonGlobalID; String? PersonNameInformal; String? PersonNameFull; bool? PersonProcessRequest; bool? PersonIsInternal; bool? PersonIsExternal; bool? PersonIsInactive; int? FunctionID; String? FunctionGlobalID; String? FunctionDescription; String? EMail; String? Phone; String? Mobile; bool? IsInactive; String? Name; String? EvaluationDepartmentName; int? UserID; String? UserGlobalID; String? UserName; bool? UserIsIntranet; bool? UserIsExtranet; String? ProjectRolesText; ProjectMember({this.ID,this.GlobalID,this.PersonID,this.PersonGlobalID,this.PersonNameInformal,this.PersonNameFull,this.PersonProcessRequest,this.PersonIsInternal,this.PersonIsExternal,this.PersonIsInactive,this.FunctionID,this.FunctionGlobalID,this.FunctionDescription,this.EMail,this.Phone,this.Mobile,this.IsInactive,this.Name,this.EvaluationDepartmentName,this.UserID,this.UserGlobalID,this.UserName,this.UserIsIntranet,this.UserIsExtranet,this.ProjectRolesText}); ProjectMember.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; GlobalID = json['GlobalID']; PersonID = json['PersonID']; PersonGlobalID = json['PersonGlobalID']; PersonNameInformal = json['PersonNameInformal']; PersonNameFull = json['PersonNameFull']; PersonProcessRequest = json['PersonProcessRequest']; PersonIsInternal = json['PersonIsInternal']; PersonIsExternal = json['PersonIsExternal']; PersonIsInactive = json['PersonIsInactive']; FunctionID = json['FunctionID']; FunctionGlobalID = json['FunctionGlobalID']; FunctionDescription = json['FunctionDescription']; EMail = json['EMail']; Phone = json['Phone']; Mobile = json['Mobile']; IsInactive = json['IsInactive']; Name = json['Name']; EvaluationDepartmentName = json['EvaluationDepartmentName']; UserID = json['UserID']; UserGlobalID = json['UserGlobalID']; UserName = json['UserName']; UserIsIntranet = json['UserIsIntranet']; UserIsExtranet = json['UserIsExtranet']; ProjectRolesText = json['ProjectRolesText']; return this; } Map toJson() => { 'ID': ID, 'GlobalID': GlobalID, 'PersonID': PersonID, 'PersonGlobalID': PersonGlobalID, 'PersonNameInformal': PersonNameInformal, 'PersonNameFull': PersonNameFull, 'PersonProcessRequest': PersonProcessRequest, 'PersonIsInternal': PersonIsInternal, 'PersonIsExternal': PersonIsExternal, 'PersonIsInactive': PersonIsInactive, 'FunctionID': FunctionID, 'FunctionGlobalID': FunctionGlobalID, 'FunctionDescription': FunctionDescription, 'EMail': EMail, 'Phone': Phone, 'Mobile': Mobile, 'IsInactive': IsInactive, 'Name': Name, 'EvaluationDepartmentName': EvaluationDepartmentName, 'UserID': UserID, 'UserGlobalID': UserGlobalID, 'UserName': UserName, 'UserIsIntranet': UserIsIntranet, 'UserIsExtranet': UserIsExtranet, 'ProjectRolesText': ProjectRolesText }; getTypeName() => "ProjectMember"; TypeContext? context = _ctx; } class Transition implements IConvertible { String? ID; String? Reason; DateTime? DelayDate; String? DelayReason; List? UserIDs; List? GroupIDs; Transition({this.ID,this.Reason,this.DelayDate,this.DelayReason,this.UserIDs,this.GroupIDs}); Transition.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Reason = json['Reason']; DelayDate = JsonConverters.fromJson(json['DelayDate'],'DateTime',context!); DelayReason = json['DelayReason']; UserIDs = JsonConverters.fromJson(json['UserIDs'],'List',context!); GroupIDs = JsonConverters.fromJson(json['GroupIDs'],'List',context!); return this; } Map toJson() => { 'ID': ID, 'Reason': Reason, 'DelayDate': JsonConverters.toJson(DelayDate,'DateTime',context!), 'DelayReason': DelayReason, 'UserIDs': JsonConverters.toJson(UserIDs,'List',context!), 'GroupIDs': JsonConverters.toJson(GroupIDs,'List',context!) }; getTypeName() => "Transition"; TypeContext? context = _ctx; } class Process implements IConvertible { int? ID; String? Title; String? Description; String? Note; String? Coordinator; bool? Urgent; List? Transitions; Process({this.ID,this.Title,this.Description,this.Note,this.Coordinator,this.Urgent,this.Transitions}); Process.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Title = json['Title']; Description = json['Description']; Note = json['Note']; Coordinator = json['Coordinator']; Urgent = json['Urgent']; Transitions = JsonConverters.fromJson(json['Transitions'],'List',context!); return this; } Map toJson() => { 'ID': ID, 'Title': Title, 'Description': Description, 'Note': Note, 'Coordinator': Coordinator, 'Urgent': Urgent, 'Transitions': JsonConverters.toJson(Transitions,'List',context!) }; getTypeName() => "Process"; TypeContext? context = _ctx; } class GetAllowedSidestepProcesses implements IReturn>, IConvertible { int? TaskID; GetAllowedSidestepProcesses({this.TaskID}); GetAllowedSidestepProcesses.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TaskID = json['TaskID']; return this; } Map toJson() => { 'TaskID': TaskID }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "GetAllowedSidestepProcesses"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'DocumentAttachment': TypeInfo(TypeOf.Class, create:() => DocumentAttachment()), 'Node': TypeInfo(TypeOf.Class, create:() => Node()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Explorer': TypeInfo(TypeOf.Class, create:() => Explorer()), 'OutlookContactItem': TypeInfo(TypeOf.Class, create:() => OutlookContactItem()), 'Printer': TypeInfo(TypeOf.Class, create:() => Printer()), 'UserOrGroup': TypeInfo(TypeOf.AbstractClass), 'User': TypeInfo(TypeOf.Class, create:() => User()), 'LinkedDocument': TypeInfo(TypeOf.Class, create:() => LinkedDocument()), 'Bookmark': TypeInfo(TypeOf.Class, create:() => Bookmark()), 'SignatureSubstitute': TypeInfo(TypeOf.Class, create:() => SignatureSubstitute()), 'Project': TypeInfo(TypeOf.Class, create:() => Project()), 'ProjectMember': TypeInfo(TypeOf.Class, create:() => ProjectMember()), 'Transition': TypeInfo(TypeOf.Class, create:() => Transition()), 'Process': TypeInfo(TypeOf.Class, create:() => Process()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAllowedSidestepProcesses': TypeInfo(TypeOf.Class, create:() => GetAllowedSidestepProcesses()), });