public override OSDMap ToOSD()
{
OSDMap returnvalue = new OSDMap()
{
{"id", id},
{"HistoryLastID", HistoryLastID},
{"TimeToRun", TimeToRun},
{"Enabled", Enabled},
{"HistoryKeep", HistoryKeep},
{"FireParams", FireParams},
{"FireFunction", FireFunction},
{"HistoryReceipt", HistoryReceipt},
{"RunOnce", RunOnce},
{"RunEvery", RunEvery},
{"CreateTime", CreateTime},
{"RunEveryType", (int) RunEveryType},
{"StartTime", StartTime},
{"ScheduleFor", ScheduleFor}
};
return returnvalue;
}