/* Options: Date: 2024-11-21 11:55:09 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CodeLockZesecUnlock.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/codelock/zesec/unlock", Verbs="POST") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privileges to call this service", StatusCode=403) @ValidateRequest(Validator="IsAuthenticated") public static class CodeLockZesecUnlock implements IReturn { /** * The Company Id of the company you want to unlock the door for. */ @ApiMember(Description="The Company Id of the company you want to unlock the door for.") public UUID CompanyId = null; /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public Integer BookingId = null; public UUID getCompanyId() { return CompanyId; } public CodeLockZesecUnlock setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getBookingId() { return BookingId; } public CodeLockZesecUnlock setBookingId(Integer value) { this.BookingId = value; return this; } private static Object responseType = CodeLockZesecUnlockResponse.class; public Object getResponseType() { return responseType; } } public static class CodeLockZesecUnlockResponse { /** * The status for unlocking the door */ @ApiMember(DataType="string", Description="The status for unlocking the door") public String Status = null; public String getStatus() { return Status; } public CodeLockZesecUnlockResponse setStatus(String value) { this.Status = value; return this; } } }