/* Options: Date: 2026-04-04 03:05:32 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: AcceptTerms.* //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 { /** * Accept the specified terms for the specified licensee and contact. */ @Route(Path="/safetycommitment/accept", Verbs="POST") // @Route(Path="/terms/accept", Verbs="POST") @Api(Description="Accept the specified terms for the specified licensee and contact.") public static class AcceptTerms implements IReturn { /** * Accept terms for the specified licensee contact id. */ @ApiMember(DataType="Guid", Description="Accept terms for the specified licensee contact id.", IsRequired=true, Name="LicenseeContactId") public UUID LicenseeContactId = null; /** * Terms are being accepted by the specified contact id. */ @ApiMember(DataType="Guid", Description="Terms are being accepted by the specified contact id.", IsRequired=true, Name="ContactId") public UUID ContactId = null; /** * Contact Type e.g Real Person or Real Organisation. Defaults to real person. */ @ApiMember(DataType="Guid", Description="Contact Type e.g Real Person or Real Organisation. Defaults to real person.", IsRequired=true, Name="ContactTypeId") public UUID ContactTypeId = null; /** * Accept terms for the specified appliance id. This is not required for Safety Commitment. */ @ApiMember(DataType="Guid", Description="Accept terms for the specified appliance id. This is not required for Safety Commitment.", Name="ApplianceId") public UUID ApplianceId = null; public UUID getLicenseeContactId() { return LicenseeContactId; } public AcceptTerms setLicenseeContactId(UUID value) { this.LicenseeContactId = value; return this; } public UUID getContactId() { return ContactId; } public AcceptTerms setContactId(UUID value) { this.ContactId = value; return this; } public UUID getContactTypeId() { return ContactTypeId; } public AcceptTerms setContactTypeId(UUID value) { this.ContactTypeId = value; return this; } public UUID getApplianceId() { return ApplianceId; } public AcceptTerms setApplianceId(UUID value) { this.ApplianceId = value; return this; } private static Object responseType = TermsActionResponse.class; public Object getResponseType() { return responseType; } } @ApiResponse(Description="Returns the response status") public static class TermsActionResponse { public ResponseStatus ResponseStatus = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public TermsActionResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }