public WorkAssignment(WorkRequest workRequest, RoleSlotToken roleSlotToken,
                              int jobId, int scheduleRunDuration, string scheduleCreatedBy, long notificationId, string frequency)
        {
            WorkRequest   = workRequest;
            RoleSlotToken = roleSlotToken;

            WorkerBadge = new WorkerBadge(this);

            // Information required to start classic jobs
            JobId = jobId;
            ScheduleRunDuration = scheduleRunDuration;
            ScheduleCreatedBy   = scheduleCreatedBy;
            NotificationId      = notificationId;
            Frequency           = frequency;
        }
        public WorkAssignment(WorkRequest workRequest, RoleSlotToken roleSlotToken, 
            int jobId, int scheduleRunDuration, string scheduleCreatedBy, long notificationId, string frequency)
        {
            WorkRequest = workRequest;
            RoleSlotToken = roleSlotToken;

            WorkerBadge = new WorkerBadge(this);

            // Information required to start classic jobs
            JobId = jobId;
            ScheduleRunDuration = scheduleRunDuration;
            ScheduleCreatedBy = scheduleCreatedBy;
            NotificationId = notificationId;
            Frequency = frequency;
        }