/* Options: Date: 2026-04-04 06:54:55 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: GetAutomationTypesByObjectType.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Get automation types available for the specified object type (rmsTableCtxId) */ // @Route("/automation/availabletypes/{RmsTableCtxId}", "GET") // @Api(Description="Get automation types available for the specified object type (rmsTableCtxId)") public class GetAutomationTypesByObjectType : IReturn, Codable { public typealias Return = GetAutomationTypesByObjectTypeResponse /** * RmsTableCtx Id to filter available automation types by */ // @ApiMember(Description="RmsTableCtx Id to filter available automation types by", ParameterType="path") public var rmsTableCtxId:String? required public init(){} } // @ApiResponse(Description="A list of automation types assignable to a particular object type") public class GetAutomationTypesByObjectTypeResponse : Codable { /** * List of applicable automation types. */ // @ApiMember(Description="List of applicable automation types.") public var automationTypes:[ListItemModel]? public var responseStatus:ResponseStatus? required public init(){} } public class ListItemModel : Codable { public var listItemId:String? public var name:String? public var Description:String? public var shortName:String? public var isDefault:Bool? public var order:Int? public var listItemTrafficLightId:String? public var primaryListItemImageId:String? public var primaryListItemImageUrl:String? public var primaryImageThumbnailUrl:String? public var ownerContactId:String? public var recordStatus:String? required public init(){} }