var request = new ContactConvertRequest
{
ToFormat = "VCard",
FromFormat = "Msg",
File = new MemoryStream(File.ReadAllBytes("/path/to/contact.msg"))
};
ContactConvertRequest request = Models.contactConvertRequest()
.toFormat("VCard")
.fromFormat("Msg")
.file(IOUtils.toByteArray(new FileInputStream("/path/to/contact.msg")))
.build();
request = models.ContactConvertRequest(
to_format='VCard',
from_format='Msg',
file='/path/to/contact.msg')
request = ContactConvertRequest.new(
to_format: 'VCard',
from_format: 'Msg',
file: File.new('/path/to/contact.msg'))
let request = Models.ContactConvertRequest()
.toFormat('VCard')
.fromFormat('Msg')
.file(fs.readFileSync('/path/to/contact.msg'))
.build();
$request = Models::ContactConvertRequest()
->to_format('VCard')
->from_format('Msg')
->file(new SplFileObject('/path/to/contact.msg'))
->build();