/* Options: Date: 2024-11-21 11:43:06 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: UpdateHomepageImage.* //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/images/{Id}", 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 UpdateHomepageImage : IReturn, ICompany { /** * Enter the company id, if blank company id and you are an admin, your company id will be used. */ @ApiMember(Description="Enter the company id, if blank company id and you are an admin, your company id will be used.", IsRequired=true) var CompanyId:UUID? = null /** * The homepage image id. */ @ApiMember(Description="The homepage image id.", IsRequired=true, ParameterType="path") var Id:Int? = null /** * The image title. */ @ApiMember(Description="The image title.") var Title:String? = null /** * The image description. */ @ApiMember(Description="The image description.") var Description:String? = null /** * The image url. */ @ApiMember(Description="The image url.") var ImageUrl:Uri? = null companion object { private val responseType = HomepageImageQueryResponse::class.java } override fun getResponseType(): Any? = UpdateHomepageImage.responseType } open class HomepageImageQueryResponse { /** * The company id. */ @ApiMember(Description="The company id.") var CompanyId:UUID? = null /** * The homepage image id. */ @ApiMember(Description="The homepage image id.") var Id:Int? = null /** * The image title. */ @ApiMember(Description="The image title.") var Title:String? = null /** * The image description. */ @ApiMember(Description="The image description.") var Description:String? = null /** * The image url. */ @ApiMember(Description="The image url.") var ImageUrl:Uri? = null } open interface ICompany { var CompanyId:UUID? }