/* Options: Date: 2025-09-07 10:20:44 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://account.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RegenerateLicenseKey.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/RegenerateLicenseKey", Verbs="POST") open class RegenerateLicenseKey : IReturn, IPost { @Validate(Validator="NotEmpty") open var licenseKey:String? = null @Validate(Validator="NotEmpty") open var halg:String? = null companion object { private val responseType = RegenerateLicenseKeyResponse::class.java } override fun getResponseType(): Any? = RegenerateLicenseKey.responseType } open class RegenerateLicenseKeyResponse { open var licenseKey:LicenseKey? = null open var licenseKeyText:String? = null open var responseStatus:ResponseStatus? = null } enum class LicenseType { Free, FreeIndividual, FreeOpenSource, Indie, Business, Enterprise, TextIndie, TextBusiness, OrmLiteIndie, OrmLiteBusiness, RedisIndie, RedisBusiness, AwsIndie, AwsBusiness, Trial, Site, TextSite, RedisSite, OrmLiteSite, } open class LicenseKey { open var ref:String? = null open var name:String? = null @SerializedName("type") open var Type:LicenseType? = null open var meta:Long? = null open var hash:String? = null open var halg:String? = null open var expiry:Date? = null }