/* Options: Date: 2026-05-14 01:07:11 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateWidgetConfigurationSchema.* //ExcludeTypes: //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.*; public class dtos { @Route(Path="/widget/configurationschema", Verbs="POST") @ApiResponse(Description="Returned if there is a validation error or the schema is invalid JSON Schema", StatusCode=400) // @ApiResponse(Description="Returned if a schema with this Version already exists", StatusCode=409) // @ApiResponse(Description="Returned if the current user is not a SuperAdmin", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") public static class CreateWidgetConfigurationSchema implements IReturn { /** * The schema version. Must be unique. */ @ApiMember(Description="The schema version. Must be unique.", IsRequired=true) public Integer Version = null; /** * The JSON Schema document. */ @ApiMember(Description="The JSON Schema document.", IsRequired=true) public HashMap Schema = new HashMap(); public Integer getVersion() { return Version; } public CreateWidgetConfigurationSchema setVersion(Integer value) { this.Version = value; return this; } public HashMap getSchema() { return Schema; } public CreateWidgetConfigurationSchema setSchema(HashMap value) { this.Schema = value; return this; } private static Object responseType = WidgetConfigurationSchemaResponse.class; public Object getResponseType() { return responseType; } } public static class WidgetConfigurationSchemaResponse { public Integer Id = null; public Integer Version = null; public HashMap Schema = new HashMap(); public Date CreatedDate = null; public ResponseStatus ResponseStatus = null; public Integer getId() { return Id; } public WidgetConfigurationSchemaResponse setId(Integer value) { this.Id = value; return this; } public Integer getVersion() { return Version; } public WidgetConfigurationSchemaResponse setVersion(Integer value) { this.Version = value; return this; } public HashMap getSchema() { return Schema; } public WidgetConfigurationSchemaResponse setSchema(HashMap value) { this.Schema = value; return this; } public Date getCreatedDate() { return CreatedDate; } public WidgetConfigurationSchemaResponse setCreatedDate(Date value) { this.CreatedDate = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public WidgetConfigurationSchemaResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }