/* Options: Date: 2026-04-04 02:55:26 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: UpdateContactNotifications.* //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 { /** * Updates contact notifications */ @Route(Path="/contact/{ContactId}/updatenotifications", Verbs="PUT") @Api(Description="Updates contact notifications") public static class UpdateContactNotifications implements IReturn { /** * Id of contact to get notification for */ @ApiMember(Description="Id of contact to get notification for", IsRequired=true, Name="ContactId") public UUID ContactId = null; /** * Id of licensee to get notification for */ @ApiMember(Description="Id of licensee to get notification for", IsRequired=true, Name="LicenseeId") public UUID LicenseeId = null; /** * Id of suite to get notification for */ @ApiMember(Description="Id of suite to get notification for", IsRequired=true, Name="SuiteId") public UUID SuiteId = null; /** * List of notification to update */ @ApiMember(Description="List of notification to update", IsRequired=true, Name="Notifications") public ArrayList Notifications = new ArrayList(); public UUID getContactId() { return ContactId; } public UpdateContactNotifications setContactId(UUID value) { this.ContactId = value; return this; } public UUID getLicenseeId() { return LicenseeId; } public UpdateContactNotifications setLicenseeId(UUID value) { this.LicenseeId = value; return this; } public UUID getSuiteId() { return SuiteId; } public UpdateContactNotifications setSuiteId(UUID value) { this.SuiteId = value; return this; } public ArrayList getNotifications() { return Notifications; } public UpdateContactNotifications setNotifications(ArrayList value) { this.Notifications = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String ErrorCode = null; @DataMember(Order=2) public String Message = null; @DataMember(Order=3) public String StackTrace = null; @DataMember(Order=4) public ArrayList Errors = null; @DataMember(Order=5) public HashMap Meta = null; public String getErrorCode() { return ErrorCode; } public ResponseStatus setErrorCode(String value) { this.ErrorCode = value; return this; } public String getMessage() { return Message; } public ResponseStatus setMessage(String value) { this.Message = value; return this; } public String getStackTrace() { return StackTrace; } public ResponseStatus setStackTrace(String value) { this.StackTrace = value; return this; } public ArrayList getErrors() { return Errors; } public ResponseStatus setErrors(ArrayList value) { this.Errors = value; return this; } public HashMap getMeta() { return Meta; } public ResponseStatus setMeta(HashMap value) { this.Meta = value; return this; } } public static class NotificationItem { public UUID Id = null; public String Name = null; public UUID getId() { return Id; } public NotificationItem setId(UUID value) { this.Id = value; return this; } public String getName() { return Name; } public NotificationItem setName(String value) { this.Name = value; return this; } } }