/* Options: Date: 2025-01-18 08:38:11 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: WebhookSettingsRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/webhook/settings", "GET") public class WebhookSettingsRequest : IReturn, ICompany, Codable { public typealias Return = WebhookSettingsResponse /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.", IsRequired=true, ParameterType="query") public var companyId:String? required public init(){} } public class WebhookSettingsResponse : Codable { public var enabled:Bool public var message:String public var companyId:String required public init(){} } public protocol ICompany { var companyId:String? { get set } }