Copy var mapiCalendarDto = new MapiCalendarDto
{
Attendees = new MapiCalendarAttendeesDto
{
AppointmentRecipients = new List < MapiRecipientDto >
{
new MapiRecipientDto
{
EmailAddress = "organizer@aspose.com" ,
AddressType = "SMTP" ,
DisplayName = "Organizer Name" ,
RecipientType = "MapiTo"
},
new MapiRecipientDto
{
EmailAddress = "attendee@aspose.com" ,
AddressType = "SMTP" ,
DisplayName = "Attendee Name" ,
RecipientType = "MapiTo"
}
}
},
BusyStatus = "Tentative" ,
ClientIntent = new List < MapiCalendarClientIntent >
{
"Manager"
},
EndDate = DateTime . Today ,
Location = "Some location" ,
Recurrence = new MapiCalendarEventRecurrenceDto
{
RecurrencePattern = new MapiCalendarDailyRecurrencePatternDto
{
Frequency = "Daily" ,
OccurrenceCount = 10 ,
WeekStartDay = "Monday"
}
},
StartDate = DateTime . Today ,
Organizer = new MapiElectronicAddressDto
{
EmailAddress = "organizer@aspose.com"
},
Body = "Some description" ,
Subject = "Some summary"
};
Copy MapiCalendarDto mapiCalendarDto = Models . mapiCalendarDto ()
. attendees ( Models . mapiCalendarAttendeesDto ()
. appointmentRecipients ( Arrays .< MapiRecipientDto > asList (
Models . mapiRecipientDto ()
. emailAddress ( "organizer@aspose.com" )
. addressType ( "SMTP" )
. displayName ( "Organizer Name" )
. recipientType ( "MapiTo" )
. build (),
Models . mapiRecipientDto ()
. emailAddress ( "attendee@aspose.com" )
. addressType ( "SMTP" )
. displayName ( "Attendee Name" )
. recipientType ( "MapiTo" )
. build ()))
. build ())
. busyStatus ( "Tentative" )
. clientIntent ( Arrays .< MapiCalendarClientIntent > asList (
"Manager" ))
. endDate ( Calendar . getInstance (). getTime ())
. location ( "Some location" )
. recurrence ( Models . mapiCalendarEventRecurrenceDto ()
. recurrencePattern ( Models . mapiCalendarDailyRecurrencePatternDto ()
. frequency ( "Daily" )
. occurrenceCount ( 10 )
. weekStartDay ( "Monday" )
. build ())
. build ())
. startDate ( Calendar . getInstance (). getTime ())
. organizer ( Models . mapiElectronicAddressDto ()
. emailAddress ( "organizer@aspose.com" )
. build ())
. body ( "Some description" )
. subject ( "Some summary" )
. build ();
Copy mapi_calendar_dto = models . MapiCalendarDto (
attendees = models . MapiCalendarAttendeesDto (
appointment_recipients = [
models . MapiRecipientDto (
email_address = 'organizer@aspose.com' ,
address_type = 'SMTP' ,
display_name = 'Organizer Name' ,
recipient_type = 'MapiTo' ),
models . MapiRecipientDto (
email_address = 'attendee@aspose.com' ,
address_type = 'SMTP' ,
display_name = 'Attendee Name' ,
recipient_type = 'MapiTo' )]),
busy_status = 'Tentative' ,
client_intent = [
'Manager' ],
end_date = datetime . today (),
location = 'Some location' ,
recurrence = models . MapiCalendarEventRecurrenceDto (
recurrence_pattern = models . MapiCalendarDailyRecurrencePatternDto (
frequency = 'Daily' ,
occurrence_count = 10 ,
week_start_day = 'Monday' )),
start_date = datetime . today (),
organizer = models . MapiElectronicAddressDto (
email_address = 'organizer@aspose.com' ),
body = 'Some description' ,
subject = 'Some summary' )
Copy mapi_calendar_dto = MapiCalendarDto . new (
attendees : MapiCalendarAttendeesDto . new (
appointment_recipients : [
MapiRecipientDto . new (
email_address : 'organizer@aspose.com' ,
address_type : 'SMTP' ,
display_name : 'Organizer Name' ,
recipient_type : 'MapiTo' ),
MapiRecipientDto . new (
email_address : 'attendee@aspose.com' ,
address_type : 'SMTP' ,
display_name : 'Attendee Name' ,
recipient_type : 'MapiTo' ) ] ),
busy_status : 'Tentative' ,
client_intent : [
'Manager' ] ,
end_date : DateTime . now ,
location : 'Some location' ,
recurrence : MapiCalendarEventRecurrenceDto . new (
recurrence_pattern : MapiCalendarDailyRecurrencePatternDto . new (
frequency : 'Daily' ,
occurrence_count : 10 ,
week_start_day : 'Monday' )),
start_date : DateTime . now ,
organizer : MapiElectronicAddressDto . new (
email_address : 'organizer@aspose.com' ),
body : 'Some description' ,
subject : 'Some summary' )
Copy let mapiCalendarDto = Models . mapiCalendarDto ()
. attendees ( Models . mapiCalendarAttendeesDto ()
. appointmentRecipients ([
Models . mapiRecipientDto ()
. emailAddress ( 'organizer@aspose.com' )
. addressType ( 'SMTP' )
. displayName ( 'Organizer Name' )
. recipientType ( 'MapiTo' )
. build (),
Models . mapiRecipientDto ()
. emailAddress ( 'attendee@aspose.com' )
. addressType ( 'SMTP' )
. displayName ( 'Attendee Name' )
. recipientType ( 'MapiTo' )
. build ()])
. build ())
. busyStatus ( 'Tentative' )
. clientIntent ([
'Manager' ])
. endDate ( new Date ())
. location ( 'Some location' )
. recurrence ( Models . mapiCalendarEventRecurrenceDto ()
. recurrencePattern ( Models . mapiCalendarDailyRecurrencePatternDto ()
. frequency ( 'Daily' )
. occurrenceCount ( 10 )
. weekStartDay ( 'Monday' )
. build ())
. build ())
. startDate ( new Date ())
. organizer ( Models . mapiElectronicAddressDto ()
. emailAddress ( 'organizer@aspose.com' )
. build ())
. body ( 'Some description' )
. subject ( 'Some summary' )
. build ();
Copy $mapiCalendarDto = Models :: mapiCalendarDto ()
-> attendees ( Models :: mapiCalendarAttendeesDto ()
-> appointmentRecipients ( array (
Models :: mapiRecipientDto ()
-> emailAddress ( 'organizer@aspose.com' )
-> addressType ( 'SMTP' )
-> displayName ( 'Organizer Name' )
-> recipientType ( 'MapiTo' )
-> build (),
Models :: mapiRecipientDto ()
-> emailAddress ( 'attendee@aspose.com' )
-> addressType ( 'SMTP' )
-> displayName ( 'Attendee Name' )
-> recipientType ( 'MapiTo' )
-> build ()))
-> build ())
-> busyStatus ( 'Tentative' )
-> clientIntent ( array (
'Manager' ))
-> endDate ( new DateTime ())
-> location ( 'Some location' )
-> recurrence ( Models :: mapiCalendarEventRecurrenceDto ()
-> recurrencePattern ( Models :: mapiCalendarDailyRecurrencePatternDto ()
-> frequency ( 'Daily' )
-> occurrenceCount ( 10 )
-> weekStartDay ( 'Monday' )
-> build ())
-> build ())
-> startDate ( new DateTime ())
-> organizer ( Models :: mapiElectronicAddressDto ()
-> emailAddress ( 'organizer@aspose.com' )
-> build ())
-> body ( 'Some description' )
-> subject ( 'Some summary' )
-> build ();