/* Options: Date: 2026-06-13 03:55:28 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ScheduleStatusRequest.* //ExcludeTypes: //InitializeCollections: True //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="/v1/schedule/status", Verbs="PUT") open class ScheduleStatusRequest : IReturn { open var WorkerScheduleItemID:Int? = null open var Status:String? = null open var WorkerNotes:String? = null companion object { private val responseType = WorkerScheduleResponse::class.java } override fun getResponseType(): Any? = ScheduleStatusRequest.responseType } open class WorkerScheduleResponse { open var Items:ArrayList = ArrayList() open var SchedulableJobs:ArrayList = ArrayList() open var Workers:ArrayList = ArrayList() open var Crews:ArrayList = ArrayList() open var BudgetedCrew:ArrayList = ArrayList() open var LastAssignment:ScheduleLastAssignment? = null open var AutoFill:ScheduleAutoFillResult? = null open var DatesScheduled:Int? = null open var WorkersScheduled:Int? = null open var ItemsRemoved:Int? = null open var ResponseStatus:ResponseStatus? = null } open class Crew { open var CrewID:Int? = null open var CrewName:String? = null open var CrewNumber:String? = null open var CrewManagerContactID:Int? = null open var CrewManagerContactName:String? = null open var CrewColor:String? = null open var RecordCreatedDate:Date? = null open var Active:Boolean? = null open var CreatedByUID:UUID? = null open var ProjectID:Int? = null open var CrewMemberCount:Int? = null open var ProjectCrewID:Int? = null open var ProjectName:String? = null open var BranchId:UUID? = null open var BranchName:String? = null } open class WorkerScheduleItem { open var WorkerScheduleItemID:Int? = null open var JobID:Int? = null open var ProjectID:Int? = null open var ContactID:Int? = null open var ScheduledDate:Date? = null open var SortOrder:Int? = null open var SourceCrewID:Int? = null open var Status:String? = null open var StartedAt:Date? = null open var CompletedAt:Date? = null open var WorkerNotes:String? = null open var JobName:String? = null open var ProjectName:String? = null open var FirstName:String? = null open var LastName:String? = null open var WorkerName:String? = null open var SourceCrewName:String? = null open var ProjectLocationID:Int? = null open var ProjectLocationName:String? = null open var LocationZip:String? = null open var LocationCity:String? = null open var LocationLatitude:BigDecimal? = null open var LocationLongitude:BigDecimal? = null open var JobStatusName:String? = null open var BranchId:UUID? = null open var BranchName:String? = null open var WorkerHomeBranchId:UUID? = null open var WorkerHomeBranchName:String? = null } open class SchedulableJob { open var JobID:Int? = null open var JobName:String? = null open var ProjectID:Int? = null open var ProjectName:String? = null open var StatusID:Int? = null open var StatusName:String? = null open var ProjectLocationID:Int? = null open var ProjectLocationName:String? = null open var LocationZip:String? = null open var LocationCity:String? = null open var LocationLatitude:BigDecimal? = null open var LocationLongitude:BigDecimal? = null open var ExpectedStartDate:Date? = null open var ExpectedCompletionDate:Date? = null open var IsRecurring:Boolean? = null open var OccurrenceDates:ArrayList = ArrayList() } open class ScheduleWorker { open var ContactId:Int? = null open var FirstName:String? = null open var LastName:String? = null open var Name:String? = null open var Initials:String? = null open var Rate:BigDecimal? = null open var ImageUrl:String? = null open var BranchId:UUID? = null open var BranchName:String? = null } open class ScheduleLastAssignment { open var JobID:Int? = null open var ContactIds:ArrayList = ArrayList() open var SourceCrewID:Int? = null } open class ScheduleAutoFillResult { open var JobsFilled:Int? = null open var JobsSkipped:Int? = null open var VisitsScheduled:Int? = null }