/* Options: Date: 2024-11-28 09:50:18 SwiftVersion: 5.0 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetProjectMembers.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/projects/{ID}/members", "GET") public class GetProjectMembers : IReturn, Codable { public typealias Return = [ProjectMember] public var id:Int? required public init(){} } public class DocumentAttachment : Codable { public var id:String? public var title:String? public var downloadName:String? public var linkTypeDescription:String? public var isPrefferedDocument:Bool? public var isMainDocument:Bool? public var link:String? public var detailUrl:String? required public init(){} } public class Node : Codable { public var entityName:String? public var id:String? public var parentID:String? public var title:String? public var count:Int? public var imageKey:String? public var expanded:Bool? public var selected:Bool? public var displayPath:String? public var childNodes:[Node] = [] public var registrationPathElement:String? public var queryPathElement:String? public var path:String? public var isHierarchy:Bool? required public init(){} } public class Explorer : Codable { public var id:String? public var title:String? public var order:Int? required public init(){} } public class OutlookContactItem : Codable { public var globalID:String? public var inactief:Bool? public var title:String? public var firstName:String? public var middleName:String? public var lastName:String? public var fullName:String? public var suffix:String? public var birthday:Date? public var gender:String? public var categories:String? public var companyName:String? public var businessAddressStreet:String? public var businessAddressPostalCode:String? public var businessAddressCity:String? public var businessAddressCountry:String? public var otherAddressStreet:String? public var otherAddressPostalCode:String? public var otherAddressCity:String? public var otherAddressCountry:String? public var home2TelephoneNumber:String? public var homeAddressStreet:String? public var homeAddressPostalCode:String? public var homeAddressCity:String? public var homeAddressCountry:String? public var businessTelephoneNumber:String? public var business2TelephoneNumber:String? public var mobileTelephoneNumber:String? public var homeTelephoneNumber:String? public var department:String? public var jobTitle:String? public var profession:String? public var email1Address:String? public var email1DisplayName:String? public var email2Address:String? public var email2DisplayName:String? public var email3Address:String? public var email3DisplayName:String? public var businessHomePage:String? public var fileAs:String? public var spouse:String? public var user1:String? public var user2:String? public var user3:String? public var user4:String? public var imageID:String? public var imageLastUpdate:Date? public var businessFaxNumber:String? public var otherFaxNumber:String? public var homeFaxNumber:String? required public init(){} } public class Printer : Codable { public var id:Int? public var Description:String? public var internalCompanyID:Int? public var binLogo:Int? public var binBlank:Int? public var binFollow:Int? public var binExtra:Int? public var binLabel:Int? required public init(){} } public class User : UserOrGroup { public var image:String? required public init(){ super.init() } private enum CodingKeys : String, CodingKey { case image } required public init(from decoder: Decoder) throws { try super.init(from: decoder) let container = try decoder.container(keyedBy: CodingKeys.self) image = try container.decodeIfPresent(String.self, forKey: .image) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) var container = encoder.container(keyedBy: CodingKeys.self) if image != nil { try container.encode(image, forKey: .image) } } } public class LinkedDocument : Codable { public var id:String? public var entityTitle:String? public var documentID:String? public var documentNumber:String? public var documentVersion:String? public var documentMostRecentVersion:Bool? public var shippingFormID:Int? public var documentTitle:String? public var documentDate:Date? public var documentUserTitle:String? public var fileUrl:String? public var fileType:String? required public init(){} } public class Bookmark : Codable { public var removeLastBreak:Bool? public var replaceOnChange:Bool? public var isDynamic:Bool? required public init(){} } public class SignatureSubstitute : Codable { public var docFieldID:String? public var name:String? public var isCurrentUser:Bool? required public init(){} } public class Bookmark : Codable { public var name:String? public var order:Int? required public init(){} } public class Project : Codable { public var id:Int? public var globalID:String? public var number:String? public var name:String? public var description1:String? public var description2:String? public var city:String? public var active:Bool? required public init(){} } public class ProjectMember : Codable { public var id:Int? public var globalID:String? public var personID:Int? public var personGlobalID:String? public var personNameInformal:String? public var personNameFull:String? public var personProcessRequest:Bool? public var personIsInternal:Bool? public var personIsExternal:Bool? public var personIsInactive:Bool? public var functionID:Int? public var functionGlobalID:String? public var functionDescription:String? public var eMail:String? public var phone:String? public var mobile:String? public var isInactive:Bool? public var name:String? public var evaluationDepartmentName:String? public var userID:Int? public var userGlobalID:String? public var userName:String? public var userIsIntranet:Bool? public var userIsExtranet:Bool? public var projectRolesText:String? required public init(){} } public class UserOrGroup : Codable { public var id:Int? public var title:String? public var isChecked:Bool? public var image:String? required public init(){} } public class Process : Codable { public var id:Int? public var title:String? public var Description:String? public var note:String? public var coordinator:String? public var urgent:Bool? public var transitions:[Transition] = [] required public init(){} } public class Transition : Codable { public var id:String? public var reason:String? public var delayDate:Date? public var delayReason:String? public var userIDs:[Int] = [] public var groupIDs:[Int] = [] required public init(){} }