var request = new CalendarConvertRequest
{
Format = "Ics",
File = new MemoryStream(File.ReadAllBytes("/path/to/calendar.msg"))
};
CalendarConvertRequest request = Models.calendarConvertRequest()
.format("Ics")
.file(IOUtils.toByteArray(new FileInputStream("/path/to/calendar.msg")))
.build();
request = models.CalendarConvertRequest(
format='Ics',
file='/path/to/calendar.msg')
request = CalendarConvertRequest.new(
format: 'Ics',
file: File.new('/path/to/calendar.msg'))
let request = Models.CalendarConvertRequest()
.format('Ics')
.file(fs.readFileSync('/path/to/calendar.msg'))
.build();
$request = Models::CalendarConvertRequest()
->format('Ics')
->file(new SplFileObject('/path/to/calendar.msg'))
->build();