/* Options: Date: 2024-11-23 09:02: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: AddResource.* //ExcludeTypes: //DefaultImports: */ export class AddResourceTypeResource { /** @description The resource id */ // @ApiMember(Description="The resource id") public Id: number; /** @description The priority of the resource. If no priority is set it will take random resource when booking a time. */ // @ApiMember(Description="The priority of the resource. If no priority is set it will take random resource when booking a time.") public Priority: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/resourcetypes/{Id}/addresource", "POST") // @ValidateRequest(Validator="IsAuthenticated") export class AddResource { /** @description The company id */ // @ApiMember(Description="The company id", IsRequired=true) public CompanyId: string; /** @description The ResourceType id */ // @ApiMember(Description="The ResourceType id", IsRequired=true, ParameterType="path") public Id: number; /** @description The resources to be included */ // @ApiMember(Description="The resources to be included") public Resources: AddResourceTypeResource[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddResource'; } public getMethod() { return 'POST'; } public createResponse() {} }