/* Options: Date: 2026-04-04 01:02:07 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetRolesForAutomationNotifications.* //ExcludeTypes: //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.*; public class dtos { /** * 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.") public static class GetRolesForAutomationNotifications extends GetRolesForAutomationNotificationsResponse implements 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") public UUID ObjectId = null; public UUID getObjectId() { return ObjectId; } public GetRolesForAutomationNotifications setObjectId(UUID value) { this.ObjectId = value; return this; } private static Object responseType = GetRolesForAutomationNotificationsResponse.class; public Object getResponseType() { return responseType; } } @ApiResponse(Description="A list of roles that are eligible to be assigned to a notification.") public static 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.") public ArrayList AllRoles = 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.") public ArrayList RolesUsedEmail = 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.") public ArrayList RolesUsedSMS = null; public ResponseStatus ResponseStatus = null; public ArrayList getAllRoles() { return AllRoles; } public GetRolesForAutomationNotificationsResponse setAllRoles(ArrayList value) { this.AllRoles = value; return this; } public ArrayList getRolesUsedEmail() { return RolesUsedEmail; } public GetRolesForAutomationNotificationsResponse setRolesUsedEmail(ArrayList value) { this.RolesUsedEmail = value; return this; } public ArrayList getRolesUsedSMS() { return RolesUsedSMS; } public GetRolesForAutomationNotificationsResponse setRolesUsedSMS(ArrayList value) { this.RolesUsedSMS = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public GetRolesForAutomationNotificationsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class GroupedListItemModel { public UUID ListItemId = null; public String Name = null; public UUID GroupId = null; public String GroupName = null; public UUID getListItemId() { return ListItemId; } public GroupedListItemModel setListItemId(UUID value) { this.ListItemId = value; return this; } public String getName() { return Name; } public GroupedListItemModel setName(String value) { this.Name = value; return this; } public UUID getGroupId() { return GroupId; } public GroupedListItemModel setGroupId(UUID value) { this.GroupId = value; return this; } public String getGroupName() { return GroupName; } public GroupedListItemModel setGroupName(String value) { this.GroupName = value; return this; } } }