/* Options: Date: 2024-07-03 12:46:08 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ApiVersionCompabilityQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/version/compability", Verbs="GET") open class ApiVersionCompabilityQuery : IReturn { /** * The identifier for your application. */ @ApiMember(Description="The identifier for your application.", IsRequired=true, ParameterType="query") var Identifier:VersionIdentifier? = null /** * The version you are running and you want to check */ @ApiMember(Description="The version you are running and you want to check", IsRequired=true, ParameterType="query") var Version:String? = null companion object { private val responseType = ApiVersionCompabilityQueryResponse::class.java } override fun getResponseType(): Any? = ApiVersionCompabilityQuery.responseType } open class ApiVersionCompabilityQueryResponse { /** * The latest version number */ var CurrentVersion:String? = null /** * Your version number */ var YourVersion:String? = null /** * Any compatible error message */ var Message:String? = null /** * If your version is compatible with the current version */ var Compatible:Boolean? = null /** * If the changes are blocking for use and you need to upgrade to later version */ var BlockingChanges:Boolean? = null var ResponseStatus:ResponseStatus? = null } enum class VersionIdentifier(val value:Int) { BokaMeraiOS(1), BokaMeraAdminiOS(2), BokaMeraAndroid(3), BokaMeraAdminAndroid(4), }