/* Options: Date: 2024-07-03 12:44:12 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: UpdateHomepageSettings.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/homepage/settings", Verbs="PUT") @ValidateRequest(Validator="IsAuthenticated") open class UpdateHomepageSettings : IReturn, ICompany { /** * The company id */ @ApiMember(Description="The company id") var CompanyId:UUID? = null /** * The text for homepage heading */ @ApiMember(Description="The text for homepage heading") var HomepageHeading:String? = null /** * The text for homepage startpage heading */ @ApiMember(Description="The text for homepage startpage heading") var WelcomePageHeading:String? = null /** * The text for homepage startpage body */ @ApiMember(Description="The text for homepage startpage body") var WelcomePageBody:String? = null /** * The text for homepage about us page heading */ @ApiMember(Description="The text for homepage about us page heading") var AboutUsPageHeading:String? = null /** * The text for homepage about us page body */ @ApiMember(Description="The text for homepage about us page body") var AboutUsPageBody:String? = null /** * The startpage image url */ @ApiMember(Description="The startpage image url") var ImageUrl:Uri? = null /** * The template for the homepage */ @ApiMember(Description="The template for the homepage") var HomePageTemplateId:Int? = null /** * Show rating on the page */ @ApiMember(Description="Show rating on the page") var ShowRating:Boolean? = null /** * Enable the BokaMera Homepage */ @ApiMember(Description="Enable the BokaMera Homepage") var EnableHomepage:Boolean? = null /** * The hero section style for the homepage */ @ApiMember(Description="The hero section style for the homepage") var HeroSectionStyleId:Int? = null companion object { private val responseType = HomepageSettingsQueryResponse::class.java } override fun getResponseType(): Any? = UpdateHomepageSettings.responseType } open class HomepageSettingsQueryResponse { /** * The company id */ @ApiMember(Description="The company id") var CompanyId:UUID? = null /** * The text for homepage heading */ @ApiMember(Description="The text for homepage heading") var HomepageHeading:String? = null /** * The text for homepage startpage heading */ @ApiMember(Description="The text for homepage startpage heading") var WelcomePageHeading:String? = null /** * The text for homepage startpage body */ @ApiMember(Description="The text for homepage startpage body") var WelcomePageBody:String? = null /** * The text for homepage about us page heading */ @ApiMember(Description="The text for homepage about us page heading") var AboutUsPageHeading:String? = null /** * The text for homepage about us page body */ @ApiMember(Description="The text for homepage about us page body") var AboutUsPageBody:String? = null /** * The startpage image url */ @ApiMember(Description="The startpage image url") var ImageUrl:Uri? = null /** * The template for the homepage */ @ApiMember(Description="The template for the homepage") var HomePageTemplateId:Int? = null /** * The hero section style for the homepage */ @ApiMember(Description="The hero section style for the homepage") var HeroSectionStyleId:Int? = null /** * Show rating on the page */ @ApiMember(Description="Show rating on the page") var ShowRating:Boolean? = null /** * Enable the BokaMera Homepage */ @ApiMember(Description="Enable the BokaMera Homepage") var EnableHomepage:Boolean? = null /** * Will show when the homepage settings was created, note it will only be shown if your logged in as admin for the company. */ @ApiMember(DataType="datetime", Description="Will show when the homepage settings was created, note it will only be shown if your logged in as admin for the company.") var Updated:Date? = null /** * Will show when the homepage settings was updated, note it will only be shown if your logged in as admin for the company. */ @ApiMember(DataType="datetime", Description="Will show when the homepage settings was updated, note it will only be shown if your logged in as admin for the company.") var Created:Date? = null /** * The homepage templates options to select from */ @ApiMember(DataType="boolean", Description="The homepage templates options to select from", ParameterType="query") var HomePageTemplateOptions:ArrayList = ArrayList() /** * The homepage hero section style options to select from */ @ApiMember(DataType="boolean", Description="The homepage hero section style options to select from", ParameterType="query") var HomepageHeroSectionStyleOptions:ArrayList = ArrayList() } open interface ICompany { var CompanyId:UUID? } open class HomepageTemplateResponse { /** * The template id */ @ApiMember(Description="The template id") var Id:Int? = null /** * The template name */ @ApiMember(Description="The template name") var Name:String? = null /** * The template description */ @ApiMember(Description="The template description") var Description:String? = null /** * The template image url */ @ApiMember(Description="The template image url") var ImageUrl:Uri? = null } open class HomepageHeroSectionStyleResponse { /** * The hero section style id */ @ApiMember(Description="The hero section style id") var Id:Int? = null /** * The hero section style name */ @ApiMember(Description="The hero section style name") var Name:String? = null /** * The hero section style description */ @ApiMember(Description="The hero section style description") var Description:String? = null }