/* Options: Date: 2024-11-21 12:09:20 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: CreateHomepageImage.* //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", "POST") // @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 CreateHomepageImage 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 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 'CreateHomepageImage'; } public getMethod() { return 'POST'; } public createResponse() { return new HomepageImageQueryResponse(); } }