/* Options: Date: 2025-09-15 03:54:32 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddResource.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream 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) open var CompanyId:UUID? = null /** * The ResourceType id */ @ApiMember(Description="The ResourceType id", IsRequired=true, ParameterType="path") open var Id:Int? = null /** * The resources to be included */ @ApiMember(Description="The resources to be included") open var Resources:ArrayList? = null } open class AddResourceTypeResource { /** * The resource id */ @ApiMember(Description="The resource id") open 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.") open var Priority:Int? = null }