/* Options: Date: 2026-08-02 02:12:16 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SetWidgetConfigurationSchemaMigration.* //ExcludeTypes: //InitializeCollections: False //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.* @Route(Path="/widget/configurationschema/{Version}/migration", Verbs="PUT") @ApiResponse(Description="Returned if Version doesn't exist, Version-1 doesn't exist, Patch isn't a well-formed RFC 6902 document, references a path unknown to the previous version's schema, or (when the previous version has a DefaultConfiguration) doesn't produce a document that validates against this Version's Schema", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not a SuperAdmin", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class SetWidgetConfigurationSchemaMigration : IReturn { /** * The schema version this patch produces. */ @ApiMember(Description="The schema version this patch produces.", IsRequired=true, ParameterType="path") open var Version:Int? = null /** * JSON Patch (RFC 6902) document transforming a Version-1 shaped Configuration into a Version-shaped one, as a JSON string. */ @ApiMember(Description="JSON Patch (RFC 6902) document transforming a Version-1 shaped Configuration into a Version-shaped one, as a JSON string.", IsRequired=true) open var Patch:String? = null companion object { private val responseType = WidgetConfigurationSchemaResponse::class.java } override fun getResponseType(): Any? = SetWidgetConfigurationSchemaMigration.responseType } open class WidgetConfigurationSchemaResponse { open var Id:Int? = null open var Version:Int? = null open var Schema:HashMap = HashMap() open var DefaultConfiguration:String? = null open var MigrationFromPreviousVersion:String? = null open var CreatedDate:Date? = null open var ResponseStatus:ResponseStatus? = null }