/* Options: Date: 2025-09-15 14:36:46 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: UpdateResourcePriority.* //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}/updateresourcepriority", Verbs="PUT") @ValidateRequest(Validator="IsAuthenticated") open class UpdateResourcePriority : IReturn { /** * 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 have their priorities to be updated */ @ApiMember(Description="The resources to have their priorities to be updated ") open var Resources:ArrayList? = null companion object { private val responseType = ResourceTypeQueryResponse::class.java } override fun getResponseType(): Any? = UpdateResourcePriority.responseType } open class ResourceTypeQueryResponse { /** * The resourcetype id */ @ApiMember(Description="The resourcetype id") open var Id:Int? = null /** * The resourcetype name */ @ApiMember(Description="The resourcetype name") open var Name:String? = null /** * The resourcetype description */ @ApiMember(Description="The resourcetype description") open var Description:String? = null /** * The resources in the resourcetype. Only shows active resources if not admin. */ @ApiMember(Description="The resources in the resourcetype. Only shows active resources if not admin.") open var Resources:ArrayList? = null /** * If resourcetype is active or not */ @ApiMember(Description="If resourcetype is active or not") open var Active:Boolean? = null /** * The date when the resource was created */ @ApiMember(Description="The date when the resource was created") open var Created:Date? = null /** * The date when the resource was updated */ @ApiMember(Description="The date when the resource was updated") open var Updated:Date? = null } open class UpdateResourceTypeResource { /** * The resource id */ @ApiMember(Description="The resource id") open var Id:Int? = null /** * The priority of the resource */ @ApiMember(Description="The priority of the resource") open var Priority:Int? = null } open class ResourceTypeResource { /** * The resource id */ @ApiMember(Description="The resource id") open var Id:Int? = null /** * The resource name */ @ApiMember(Description="The resource name") open var Name:String? = null /** * The resource status */ @ApiMember(Description="The resource status") open var Active:Boolean? = null /** * The resource description */ @ApiMember(Description="The resource description") open var Description:String? = null /** * The resource email */ @ApiMember(Description="The resource email") open var Email:String? = null /** * The resource phone */ @ApiMember(Description="The resource phone") open var Phone:String? = null /** * The resource color */ @ApiMember(Description="The resource color") open var Color:String? = null /** * The resource image */ @ApiMember(Description="The resource image") open var ImageUrl:Uri? = null /** * The priority of the resource */ @ApiMember(Description="The priority of the resource") open var Priority:Int? = null /** * If the resource wants to receive Email notifications */ @ApiMember(Description="If the resource wants to receive Email notifications") open var EmailNotification:Boolean? = null /** * If the resource wants to receive SMS notifications */ @ApiMember(Description="If the resource wants to receive SMS notifications") open var SMSNotification:Boolean? = null /** * If the resource wants to receive Email reminders */ @ApiMember(Description="If the resource wants to receive Email reminders") open var EmailReminder:Boolean? = null /** * If the resource wants to receive SMS reminders */ @ApiMember(Description="If the resource wants to receive SMS reminders") open var SMSReminder:Boolean? = null }