/* Options: Date: 2024-07-03 12:34:40 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: UpdateSystemSetting.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/settings/system", Verbs="PUT") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) @ValidateRequest(Validator="IsAuthenticated") open class UpdateSystemSetting : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") var CompanyId:UUID? = null /** * If the booking is active or not */ @ApiMember(DataType="bool", Description="If the booking is active or not") var Active:Boolean? = null /** * If the booking is not active, what message to show to the customers */ @ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers") var InactiveMessage:String? = null /** * If the company should be visible in search results on hompage */ @ApiMember(DataType="bool", Description="If the company should be visible in search results on hompage") var Searchable:Boolean? = null /** * If you have a google analytics account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a google analytics account and want to track your customers behaviors.") var GATrackingId:String? = null /** * If you have a google Ads Conversion Id account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a google Ads Conversion Id account and want to track your customers behaviors.") var GoogleAdsConversionId:String? = null /** * If you have a LinkedIn account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.") var LinkedinTagId:String? = null /** * If you have a Google Ads Conversion Label and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.") var GoogleAdsConversionLabel:String? = null /** * If you have a google tag manager account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a google tag manager account and want to track your customers behaviors.") var GTMTrackingId:String? = null /** * If you have a facebook account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a facebook account and want to track your customers behaviors.") var FacebookPixelId:String? = null /** * If the company should be visible on the marketplace */ @ApiMember(DataType="bool", Description="If the company should be visible on the marketplace") var ShowOnMarketplace:Boolean? = null /** * If you want your customers to be albe to change language on your homepage */ @ApiMember(DataType="bool", Description="If you want your customers to be albe to change language on your homepage") var MultiLanguage:Boolean? = null /** * If you want your own written text on your homepage to be translated using google analytics when a user changes language */ @ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using google analytics when a user changes language") var EnableAPITranslation:Boolean? = null /** * What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN */ @ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN") var DefaultLanguage:String? = null companion object { private val responseType = SystemSettingsResponse::class.java } override fun getResponseType(): Any? = UpdateSystemSetting.responseType } open class SystemSettingsResponse { /** * The country options to choose from */ @ApiMember(Description="The country options to choose from") var LanguageOptions:ArrayList = ArrayList() /** * If the booking is active or not */ @ApiMember(DataType="bool", Description="If the booking is active or not") var Active:Boolean? = null /** * If the booking is not active, what message to show to the customers */ @ApiMember(DataType="string", Description="If the booking is not active, what message to show to the customers") var InactiveMessage:String? = null /** * If the company should be visible in search results on hompage */ @ApiMember(DataType="bool", Description="If the company should be visible in search results on hompage") var Searchable:Boolean? = null /** * If you have a google analytics account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a google analytics account and want to track your customers behaviors.") var GATrackingId:String? = null /** * If you have a google Ads Conversion Id account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a google Ads Conversion Id account and want to track your customers behaviors.") var GoogleAdsConversionId:String? = null /** * If you have a LinkedIn account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a LinkedIn account and want to track your customers behaviors.") var LinkedinTagId:String? = null /** * If you have a Google Ads Conversion Label and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a Google Ads Conversion Label and want to track your customers behaviors.") var GoogleAdsConversionLabel:String? = null /** * If you have a google tag manager account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a google tag manager account and want to track your customers behaviors.") var GTMTrackingId:String? = null /** * If you have a facebook account and want to track your customers behaviors. */ @ApiMember(DataType="string", Description="If you have a facebook account and want to track your customers behaviors.") var FacebookPixelId:String? = null /** * If the company should be visible on the marketplace */ @ApiMember(DataType="bool", Description="If the company should be visible on the marketplace") var ShowOnMarketplace:Boolean? = null /** * If you want your customers to be albe to change language on your homepage */ @ApiMember(DataType="bool", Description="If you want your customers to be albe to change language on your homepage") var MultiLanguage:Boolean? = null /** * If you want your own written text on your homepage to be translated using google analytics when a user changes language */ @ApiMember(DataType="bool", Description="If you want your own written text on your homepage to be translated using google analytics when a user changes language") var EnableAPITranslation:Boolean? = null /** * What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN */ @ApiMember(DataType="string", Description="What is the standard language your homepage information is written in. Select from the different countries, ie. SE,NO,EN") var DefaultLanguage:String? = null } open interface ICompany { var CompanyId:UUID? } open class LanguageResponse { var Id:String? = null var Name:String? = null }