// UnassignNotifierFromJob assigns a notifier to job
UnassignNotifierFromJob assigns a notifier to job
// UnassignNotifierFromJob assigns a notifier to job
func UnassignNotifierFromJob(request UnassignNotifierFromJobRequest) (UnassignNotifierFromJobResponse, error) {
	response := UnassignNotifierFromJobResponse{}
	assignment, err := reader.FindOneAssignment(request.JobName, request.NotifierName)
	if err != nil {
		return response, err
	}
	err = writer.DeleteAssignment(&assignment)
	if err != nil {
		return response, err
	}
	response.Msg = request.NotifierName + " unassigned from " + request.JobName
	return response, nil
}
func UnassignNotifierFromJob ( request UnassignNotifierFromJobRequest ) ( UnassignNotifierFromJobResponse , error ) { response := UnassignNotifierFromJobResponse { } assignment , err := reader . FindOneAssignment ( request . JobName , request . NotifierName ) if err != nil { return response , err } err = writer . DeleteAssignment ( & assignment ) if err != nil { return response , err } response . Msg = request . NotifierName + " " + request . JobName return response , nil }
UnassignNotifierFromJob assigns a notifier to job
UnassignNotifierFromJob assigns a notifier to job