/* Options: Date: 2024-11-21 12:03:21 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: AddResource.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/resourcetypes/{Id}/addresource", Verbs="POST") @ValidateRequest(Validator="IsAuthenticated") open class AddResource { /** * The company id */ @ApiMember(Description="The company id", IsRequired=true) var CompanyId:UUID? = null /** * The ResourceType id */ @ApiMember(Description="The ResourceType id", IsRequired=true, ParameterType="path") var Id:Int? = null /** * The resources to be included */ @ApiMember(Description="The resources to be included") var Resources:ArrayList = ArrayList() } open class AddResourceTypeResource { /** * The resource id */ @ApiMember(Description="The resource id") var Id:Int? = null /** * 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.") var Priority:Int? = null }