import { EventRecurrence } from './agenda/eventrecurrence.model'; import { EventBody } from './eventbody.model'; import { EventPerson } from './eventperson.model'; export class Event{ ParentId?: string; EventId: string; Subject: string; Body: EventBody; Location: string; CalendarId: string; CalendarName: string; StartDate: Date; EndDate: Date; EventType: string; Attendees: EventPerson[]; IsMeeting: boolean; IsRecurring: boolean; AppointmentState: number; TimeZone: string; Organizer: any Category: string; HasAttachments: boolean; EventRecurrence: EventRecurrence; Name?: string /* public Event(){ this.EventRecurrence = new EventRecurrence(); } */ } export class EventToApproveEdit { "serialNumber": "9296_86" "Body": "Testando" "Location": "Testland" "Subject": "Teste 0123" "StartDate": "2021-05-12T10:30:00" "EndDate": "2021-05-12T11:30:00" "Private": false "ReviewUserComment": "" "MDName": "Paulo Pinto" "OccurrenceType": "-1" "LastOccurrence": "2021-07-14" "MDEmail": "paulo.pinto@gabinetedigital.local" "Agenda": "Oficial" | "Pessoal" "EventType": "Reunião" "IsRecurring": false "IsAllDayEvent": true "ParticipantsList": { "EmailAddress": "gilson.manuel@gabinetedigital.local", "Name": "Gilson Manuel", "IsRequired": true }[] "Message": "Recebeu um novo" }