/* Options: Date: 2026-04-04 01:21:45 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetRolesForAutomationNotifications.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Get eligible roles for automation notifications */ @Route(Path="/automation/notification/{ObjectId}/roles", Verbs="GET") @Api(Description="Get eligible roles for automation notifications") @ApiResponse(Description="A list of roles that are eligible to be assigned to a notification.") open class GetRolesForAutomationNotifications : GetRolesForAutomationNotificationsResponse(), IReturn { /** * Object the notification will be for. Used to exclude any currently assigned roles. */ @ApiMember(Description="Object the notification will be for. Used to exclude any currently assigned roles.", ParameterType="path") open var ObjectId:UUID? = null companion object { private val responseType = GetRolesForAutomationNotificationsResponse::class.java } override fun getResponseType(): Any? = GetRolesForAutomationNotifications.responseType } @ApiResponse(Description="A list of roles that are eligible to be assigned to a notification.") open class GetRolesForAutomationNotificationsResponse { /** * List of all roles (grouped by suite) that can be assigned to a notification. */ @ApiMember(Description="List of all roles (grouped by suite) that can be assigned to a notification.") open var AllRoles:ArrayList? = null /** * List of roles that are already assigned to an email notification for the object, these should be excluded from being selected again. */ @ApiMember(Description="List of roles that are already assigned to an email notification for the object, these should be excluded from being selected again.") open var RolesUsedEmail:ArrayList? = null /** * List of roles that are already assigned to an sms notification for the object, these should be excluded from being selected again. */ @ApiMember(Description="List of roles that are already assigned to an sms notification for the object, these should be excluded from being selected again.") open var RolesUsedSMS:ArrayList? = null open var ResponseStatus:ResponseStatus? = null } open class GroupedListItemModel { open var ListItemId:UUID? = null open var Name:String? = null open var GroupId:UUID? = null open var GroupName:String? = null }