var mapiContactDto = new MapiContactDto
{
ElectronicAddresses = new MapiContactElectronicAddressPropertySetDto
{
DefaultEmailAddress = new MapiContactElectronicAddressDto
{
EmailAddress = "email@aspose.com"
}
},
NameInfo = new MapiContactNamePropertySetDto
{
GivenName = "Alex",
Surname = "Thomas"
},
PersonalInfo = new MapiContactPersonalInfoPropertySetDto
{
BusinessHomePage = "www.aspose.com"
},
ProfessionalInfo = new MapiContactProfessionalPropertySetDto
{
Profession = "GENERAL DIRECTOR"
},
Telephones = new MapiContactTelephonePropertySetDto
{
PrimaryTelephoneNumber = "+49 211 4247 21"
}
};
MapiContactDto mapiContactDto = Models.mapiContactDto()
.electronicAddresses(Models.mapiContactElectronicAddressPropertySetDto()
.defaultEmailAddress(Models.mapiContactElectronicAddressDto()
.emailAddress("email@aspose.com")
.build())
.build())
.nameInfo(Models.mapiContactNamePropertySetDto()
.givenName("Alex")
.surname("Thomas")
.build())
.personalInfo(Models.mapiContactPersonalInfoPropertySetDto()
.businessHomePage("www.aspose.com")
.build())
.professionalInfo(Models.mapiContactProfessionalPropertySetDto()
.profession("GENERAL DIRECTOR")
.build())
.telephones(Models.mapiContactTelephonePropertySetDto()
.primaryTelephoneNumber("+49 211 4247 21")
.build())
.build();
mapi_contact_dto = models.MapiContactDto(
electronic_addresses=models.MapiContactElectronicAddressPropertySetDto(
default_email_address=models.MapiContactElectronicAddressDto(
email_address='email@aspose.com')),
name_info=models.MapiContactNamePropertySetDto(
given_name='Alex',
surname='Thomas'),
personal_info=models.MapiContactPersonalInfoPropertySetDto(
business_home_page='www.aspose.com'),
professional_info=models.MapiContactProfessionalPropertySetDto(
profession='GENERAL DIRECTOR'),
telephones=models.MapiContactTelephonePropertySetDto(
primary_telephone_number='+49 211 4247 21'))
mapi_contact_dto = MapiContactDto.new(
electronic_addresses: MapiContactElectronicAddressPropertySetDto.new(
default_email_address: MapiContactElectronicAddressDto.new(
email_address: 'email@aspose.com')),
name_info: MapiContactNamePropertySetDto.new(
given_name: 'Alex',
surname: 'Thomas'),
personal_info: MapiContactPersonalInfoPropertySetDto.new(
business_home_page: 'www.aspose.com'),
professional_info: MapiContactProfessionalPropertySetDto.new(
profession: 'GENERAL DIRECTOR'),
telephones: MapiContactTelephonePropertySetDto.new(
primary_telephone_number: '+49 211 4247 21'))
let mapiContactDto = Models.mapiContactDto()
.electronicAddresses(Models.mapiContactElectronicAddressPropertySetDto()
.defaultEmailAddress(Models.mapiContactElectronicAddressDto()
.emailAddress('email@aspose.com')
.build())
.build())
.nameInfo(Models.mapiContactNamePropertySetDto()
.givenName('Alex')
.surname('Thomas')
.build())
.personalInfo(Models.mapiContactPersonalInfoPropertySetDto()
.businessHomePage('www.aspose.com')
.build())
.professionalInfo(Models.mapiContactProfessionalPropertySetDto()
.profession('GENERAL DIRECTOR')
.build())
.telephones(Models.mapiContactTelephonePropertySetDto()
.primaryTelephoneNumber('+49 211 4247 21')
.build())
.build();
$mapiContactDto = Models::mapiContactDto()
->electronicAddresses(Models::mapiContactElectronicAddressPropertySetDto()
->defaultEmailAddress(Models::mapiContactElectronicAddressDto()
->emailAddress('email@aspose.com')
->build())
->build())
->nameInfo(Models::mapiContactNamePropertySetDto()
->givenName('Alex')
->surname('Thomas')
->build())
->personalInfo(Models::mapiContactPersonalInfoPropertySetDto()
->businessHomePage('www.aspose.com')
->build())
->professionalInfo(Models::mapiContactProfessionalPropertySetDto()
->profession('GENERAL DIRECTOR')
->build())
->telephones(Models::mapiContactTelephonePropertySetDto()
->primaryTelephoneNumber('+49 211 4247 21')
->build())
->build();