/* Options: Date: 2025-12-11 09:06:09 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://legalguard-api-dev.happen.zone //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RaisePanic.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/panic", Verbs="POST") open class RaisePanic : ApiServiceRequest(), IReturn { companion object { private val responseType = RaisePanicResponse::class.java } override fun getResponseType(): Any? = RaisePanic.responseType } open class RaisePanicResponse : ApiServiceResponse() { var nextPanicDate:String? = null var referenceNumber:String? = null } open class ApiServiceRequest : IServiceRequest, IHasApiKey, IHasDeviceInfo { /** * The API Key required for authentication */ @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) var apiKey:String? = null /** * Latitude of the user making this request */ @ApiMember(DataType="double", Description="Latitude of the user making this request") var latitude:Double? = null /** * Longitude of the user making this request */ @ApiMember(DataType="double", Description="Longitude of the user making this request") var longitude:Double? = null } open interface IServiceRequest { } open interface IHasApiKey { var apiKey:String? } open interface IHasDeviceInfo { } open class ApiServiceResponse : IServiceResponse { /** * Information about the response. */ @ApiMember(Description="Information about the response.", IsRequired=true) var description:String? = null /** * Heading or summary of the response. */ @ApiMember(Description="Heading or summary of the response.", IsRequired=true) var heading:String? = null /** * Did the intended operation for this response complete successfully? */ @ApiMember(DataType="boolean", Description="Did the intended operation for this response complete successfully?", IsRequired=true) var wasSuccessful:Boolean? = null var responseStatus:ResponseStatus? = null }