/* Options: Date: 2026-04-04 06:47:27 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetContactNotifications.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Get notifications for the specified contact */ // @Route("/contact/{ContactId}/notifications") // @Api(Description="Get notifications for the specified contact") public class GetContactNotifications : IReturn, Codable { public typealias Return = GetContactNotificationsResponse /** * Id of contact to get notifications for */ // @ApiMember(Description="Id of contact to get notifications for", IsRequired=true, Name="ContactId") public var contactId:String? /** * Id of licensee to get notifications for */ // @ApiMember(Description="Id of licensee to get notifications for", IsRequired=true, Name="LicenseeId") public var licenseeId:String? /** * Id of suite to get notifications for */ // @ApiMember(Description="Id of suite to get notifications for", IsRequired=true, Name="Suite") public var suiteId:String? required public init(){} } // @ApiResponse(Description="List of contact notifications") public class GetContactNotificationsResponse : Codable { public var notifications:[NotificationGroup]? public var responseStatus:ResponseStatus? required public init(){} } public class NotificationGroup : Codable { public var groupName:String? public var notifications:[NotificationDetails]? required public init(){} } public class NotificationDetails : Codable { public var notificationId:String? public var notificationGroupName:String? public var notificationValueId:String? public var name:String? public var Description:String? public var isMandatory:Bool? public var isCardinality:Bool? public var isSystem:Bool? public var isVisibleToRecipients:Bool? public var index:Int? public var email:InputSwitch? public var sms:InputSwitch? public var updateNotification:InputSwitch? public var push:InputSwitch? public var phone:InputSwitch? required public init(){} } public class InputSwitch : Codable { public var id:String? public var name:String? public var isDisabled:Bool? public var isChecked:Bool? required public init(){} }