/* Options: Date: 2024-07-03 12:51:41 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateHomepageImage.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface ICompany { CompanyId?: string; } export class HomepageImageQueryResponse { /** @description The company id. */ // @ApiMember(Description="The company id.") public CompanyId: string; /** @description The homepage image id. */ // @ApiMember(Description="The homepage image id.") public Id: number; /** @description The image title. */ // @ApiMember(Description="The image title.") public Title: string; /** @description The image description. */ // @ApiMember(Description="The image description.") public Description: string; /** @description The image url. */ // @ApiMember(Description="The image url.") public ImageUrl: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/homepage/images/{Id}", "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") export class UpdateHomepageImage implements IReturn, ICompany { /** @description 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) public CompanyId: string; /** @description The homepage image id. */ // @ApiMember(Description="The homepage image id.", IsRequired=true, ParameterType="path") public Id: number; /** @description The image title. */ // @ApiMember(Description="The image title.") public Title: string; /** @description The image description. */ // @ApiMember(Description="The image description.") public Description: string; /** @description The image url. */ // @ApiMember(Description="The image url.") public ImageUrl: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UpdateHomepageImage'; } public getMethod() { return 'PUT'; } public createResponse() { return new HomepageImageQueryResponse(); } }