你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphContact Class

public final class MicrosoftGraphContact
extends MicrosoftGraphOutlookItem

contact.

Constructor Summary

Constructor Description
MicrosoftGraphContact()

Creates an instance of MicrosoftGraphContact class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: contact.

String assistantName()

Get the assistantName property: The name of the contact's assistant.

OffsetDateTime birthday()

Get the birthday property: The contact's birthday.

MicrosoftGraphPhysicalAddress businessAddress()

Get the businessAddress property: physicalAddress.

String businessHomePage()

Get the businessHomePage property: The business home page of the contact.

List<String> businessPhones()

Get the businessPhones property: The contact's business phone numbers.

List<String> children()

Get the children property: The names of the contact's children.

String companyName()

Get the companyName property: The name of the contact's company.

String department()

Get the department property: The contact's department.

String displayName()

Get the displayName property: The contact's display name.

List<MicrosoftGraphEmailAddress> emailAddresses()

Get the emailAddresses property: The contact's email addresses.

List<MicrosoftGraphExtension> extensions()

Get the extensions property: The collection of open extensions defined for the contact.

String fileAs()

Get the fileAs property: The name the contact is filed under.

static MicrosoftGraphContact fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphContact from the JsonReader.

String generation()

Get the generation property: The contact's generation.

String givenName()

Get the givenName property: The contact's given name.

MicrosoftGraphPhysicalAddress homeAddress()

Get the homeAddress property: physicalAddress.

List<String> homePhones()

Get the homePhones property: The contact's home phone numbers.

List<String> imAddresses()

Get the imAddresses property: The contact's instant messaging (IM) addresses.

String initials()

Get the initials property: The contact's initials.

String jobTitle()

Get the jobTitle property: The contact\u2019s job title.

String manager()

Get the manager property: The name of the contact's manager.

String middleName()

Get the middleName property: The contact's middle name.

String mobilePhone()

Get the mobilePhone property: The contact's mobile phone number.

List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties()

Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact.

String nickName()

Get the nickName property: The contact's nickname.

String officeLocation()

Get the officeLocation property: The location of the contact's office.

MicrosoftGraphPhysicalAddress otherAddress()

Get the otherAddress property: physicalAddress.

String parentFolderId()

Get the parentFolderId property: The ID of the contact's parent folder.

String personalNotes()

Get the personalNotes property: The user's notes about the contact.

MicrosoftGraphProfilePhoto photo()

Get the photo property: profilePhoto.

String profession()

Get the profession property: The contact's profession.

List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties()

Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact.

String spouseName()

Get the spouseName property: The name of the contact's spouse/partner.

String surname()

Get the surname property: The contact's surname.

String title()

Get the title property: The contact's title.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphContact withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: contact.

MicrosoftGraphContact withAssistantName(String assistantName)

Set the assistantName property: The name of the contact's assistant.

MicrosoftGraphContact withBirthday(OffsetDateTime birthday)

Set the birthday property: The contact's birthday.

MicrosoftGraphContact withBusinessAddress(MicrosoftGraphPhysicalAddress businessAddress)

Set the businessAddress property: physicalAddress.

MicrosoftGraphContact withBusinessHomePage(String businessHomePage)

Set the businessHomePage property: The business home page of the contact.

MicrosoftGraphContact withBusinessPhones(List<String> businessPhones)

Set the businessPhones property: The contact's business phone numbers.

MicrosoftGraphContact withCategories(List<String> categories)

Set the categories property: The categories associated with the item.

MicrosoftGraphContact withChangeKey(String changeKey)

Set the changeKey property: Identifies the version of the item.

MicrosoftGraphContact withChildren(List<String> children)

Set the children property: The names of the contact's children.

MicrosoftGraphContact withCompanyName(String companyName)

Set the companyName property: The name of the contact's company.

MicrosoftGraphContact withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

MicrosoftGraphContact withDepartment(String department)

Set the department property: The contact's department.

MicrosoftGraphContact withDisplayName(String displayName)

Set the displayName property: The contact's display name.

MicrosoftGraphContact withEmailAddresses(List<MicrosoftGraphEmailAddress> emailAddresses)

Set the emailAddresses property: The contact's email addresses.

MicrosoftGraphContact withExtensions(List<MicrosoftGraphExtension> extensions)

Set the extensions property: The collection of open extensions defined for the contact.

MicrosoftGraphContact withFileAs(String fileAs)

Set the fileAs property: The name the contact is filed under.

MicrosoftGraphContact withGeneration(String generation)

Set the generation property: The contact's generation.

MicrosoftGraphContact withGivenName(String givenName)

Set the givenName property: The contact's given name.

MicrosoftGraphContact withHomeAddress(MicrosoftGraphPhysicalAddress homeAddress)

Set the homeAddress property: physicalAddress.

MicrosoftGraphContact withHomePhones(List<String> homePhones)

Set the homePhones property: The contact's home phone numbers.

MicrosoftGraphContact withId(String id)

Set the id property: Read-only.

MicrosoftGraphContact withImAddresses(List<String> imAddresses)

Set the imAddresses property: The contact's instant messaging (IM) addresses.

MicrosoftGraphContact withInitials(String initials)

Set the initials property: The contact's initials.

MicrosoftGraphContact withJobTitle(String jobTitle)

Set the jobTitle property: The contact\u2019s job title.

MicrosoftGraphContact withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

MicrosoftGraphContact withManager(String manager)

Set the manager property: The name of the contact's manager.

MicrosoftGraphContact withMiddleName(String middleName)

Set the middleName property: The contact's middle name.

MicrosoftGraphContact withMobilePhone(String mobilePhone)

Set the mobilePhone property: The contact's mobile phone number.

MicrosoftGraphContact withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)

Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact.

MicrosoftGraphContact withNickName(String nickName)

Set the nickName property: The contact's nickname.

MicrosoftGraphContact withOfficeLocation(String officeLocation)

Set the officeLocation property: The location of the contact's office.

MicrosoftGraphContact withOtherAddress(MicrosoftGraphPhysicalAddress otherAddress)

Set the otherAddress property: physicalAddress.

MicrosoftGraphContact withParentFolderId(String parentFolderId)

Set the parentFolderId property: The ID of the contact's parent folder.

MicrosoftGraphContact withPersonalNotes(String personalNotes)

Set the personalNotes property: The user's notes about the contact.

MicrosoftGraphContact withPhoto(MicrosoftGraphProfilePhoto photo)

Set the photo property: profilePhoto.

MicrosoftGraphContact withProfession(String profession)

Set the profession property: The contact's profession.

MicrosoftGraphContact withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)

Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact.

MicrosoftGraphContact withSpouseName(String spouseName)

Set the spouseName property: The name of the contact's spouse/partner.

MicrosoftGraphContact withSurname(String surname)

Set the surname property: The contact's surname.

MicrosoftGraphContact withTitle(String title)

Set the title property: The contact's title.

MicrosoftGraphContact withYomiCompanyName(String yomiCompanyName)

Set the yomiCompanyName property: The phonetic Japanese company name of the contact.

MicrosoftGraphContact withYomiGivenName(String yomiGivenName)

Set the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.

MicrosoftGraphContact withYomiSurname(String yomiSurname)

Set the yomiSurname property: The phonetic Japanese surname (last name) of the contact.

String yomiCompanyName()

Get the yomiCompanyName property: The phonetic Japanese company name of the contact.

String yomiGivenName()

Get the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.

String yomiSurname()

Get the yomiSurname property: The phonetic Japanese surname (last name) of the contact.

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from MicrosoftGraphOutlookItem

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphContact

public MicrosoftGraphContact()

Creates an instance of MicrosoftGraphContact class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: contact.

Overrides:

MicrosoftGraphContact.additionalProperties()

Returns:

the additionalProperties value.

assistantName

public String assistantName()

Get the assistantName property: The name of the contact's assistant.

Returns:

the assistantName value.

birthday

public OffsetDateTime birthday()

Get the birthday property: The contact's birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Returns:

the birthday value.

businessAddress

public MicrosoftGraphPhysicalAddress businessAddress()

Get the businessAddress property: physicalAddress.

Returns:

the businessAddress value.

businessHomePage

public String businessHomePage()

Get the businessHomePage property: The business home page of the contact.

Returns:

the businessHomePage value.

businessPhones

public List businessPhones()

Get the businessPhones property: The contact's business phone numbers.

Returns:

the businessPhones value.

children

public List children()

Get the children property: The names of the contact's children.

Returns:

the children value.

companyName

public String companyName()

Get the companyName property: The name of the contact's company.

Returns:

the companyName value.

department

public String department()

Get the department property: The contact's department.

Returns:

the department value.

displayName

public String displayName()

Get the displayName property: The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation.

Returns:

the displayName value.

emailAddresses

public List emailAddresses()

Get the emailAddresses property: The contact's email addresses.

Returns:

the emailAddresses value.

extensions

public List extensions()

Get the extensions property: The collection of open extensions defined for the contact. Read-only. Nullable.

Returns:

the extensions value.

fileAs

public String fileAs()

Get the fileAs property: The name the contact is filed under.

Returns:

the fileAs value.

fromJson

public static MicrosoftGraphContact fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphContact from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphContact if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphContact.

generation

public String generation()

Get the generation property: The contact's generation.

Returns:

the generation value.

givenName

public String givenName()

Get the givenName property: The contact's given name.

Returns:

the givenName value.

homeAddress

public MicrosoftGraphPhysicalAddress homeAddress()

Get the homeAddress property: physicalAddress.

Returns:

the homeAddress value.

homePhones

public List homePhones()

Get the homePhones property: The contact's home phone numbers.

Returns:

the homePhones value.

imAddresses

public List imAddresses()

Get the imAddresses property: The contact's instant messaging (IM) addresses.

Returns:

the imAddresses value.

initials

public String initials()

Get the initials property: The contact's initials.

Returns:

the initials value.

jobTitle

public String jobTitle()

Get the jobTitle property: The contact\u2019s job title.

Returns:

the jobTitle value.

manager

public String manager()

Get the manager property: The name of the contact's manager.

Returns:

the manager value.

middleName

public String middleName()

Get the middleName property: The contact's middle name.

Returns:

the middleName value.

mobilePhone

public String mobilePhone()

Get the mobilePhone property: The contact's mobile phone number.

Returns:

the mobilePhone value.

multiValueExtendedProperties

public List multiValueExtendedProperties()

Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact. Read-only. Nullable.

Returns:

the multiValueExtendedProperties value.

nickName

public String nickName()

Get the nickName property: The contact's nickname.

Returns:

the nickName value.

officeLocation

public String officeLocation()

Get the officeLocation property: The location of the contact's office.

Returns:

the officeLocation value.

otherAddress

public MicrosoftGraphPhysicalAddress otherAddress()

Get the otherAddress property: physicalAddress.

Returns:

the otherAddress value.

parentFolderId

public String parentFolderId()

Get the parentFolderId property: The ID of the contact's parent folder.

Returns:

the parentFolderId value.

personalNotes

public String personalNotes()

Get the personalNotes property: The user's notes about the contact.

Returns:

the personalNotes value.

photo

public MicrosoftGraphProfilePhoto photo()

Get the photo property: profilePhoto.

Returns:

the photo value.

profession

public String profession()

Get the profession property: The contact's profession.

Returns:

the profession value.

singleValueExtendedProperties

public List singleValueExtendedProperties()

Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact. Read-only. Nullable.

Returns:

the singleValueExtendedProperties value.

spouseName

public String spouseName()

Get the spouseName property: The name of the contact's spouse/partner.

Returns:

the spouseName value.

surname

public String surname()

Get the surname property: The contact's surname.

Returns:

the surname value.

title

public String title()

Get the title property: The contact's title.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphContact.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphContact.validate()

withAdditionalProperties

public MicrosoftGraphContact withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: contact.

Overrides:

MicrosoftGraphContact.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphContact object itself.

withAssistantName

public MicrosoftGraphContact withAssistantName(String assistantName)

Set the assistantName property: The name of the contact's assistant.

Parameters:

assistantName - the assistantName value to set.

Returns:

the MicrosoftGraphContact object itself.

withBirthday

public MicrosoftGraphContact withBirthday(OffsetDateTime birthday)

Set the birthday property: The contact's birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Parameters:

birthday - the birthday value to set.

Returns:

the MicrosoftGraphContact object itself.

withBusinessAddress

public MicrosoftGraphContact withBusinessAddress(MicrosoftGraphPhysicalAddress businessAddress)

Set the businessAddress property: physicalAddress.

Parameters:

businessAddress - the businessAddress value to set.

Returns:

the MicrosoftGraphContact object itself.

withBusinessHomePage

public MicrosoftGraphContact withBusinessHomePage(String businessHomePage)

Set the businessHomePage property: The business home page of the contact.

Parameters:

businessHomePage - the businessHomePage value to set.

Returns:

the MicrosoftGraphContact object itself.

withBusinessPhones

public MicrosoftGraphContact withBusinessPhones(List businessPhones)

Set the businessPhones property: The contact's business phone numbers.

Parameters:

businessPhones - the businessPhones value to set.

Returns:

the MicrosoftGraphContact object itself.

withCategories

public MicrosoftGraphContact withCategories(List categories)

Set the categories property: The categories associated with the item.

Overrides:

MicrosoftGraphContact.withCategories(List<String> categories)

Parameters:

categories

withChangeKey

public MicrosoftGraphContact withChangeKey(String changeKey)

Set the changeKey property: Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.

Overrides:

MicrosoftGraphContact.withChangeKey(String changeKey)

Parameters:

changeKey

withChildren

public MicrosoftGraphContact withChildren(List children)

Set the children property: The names of the contact's children.

Parameters:

children - the children value to set.

Returns:

the MicrosoftGraphContact object itself.

withCompanyName

public MicrosoftGraphContact withCompanyName(String companyName)

Set the companyName property: The name of the contact's company.

Parameters:

companyName - the companyName value to set.

Returns:

the MicrosoftGraphContact object itself.

withCreatedDateTime

public MicrosoftGraphContact withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Overrides:

MicrosoftGraphContact.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

withDepartment

public MicrosoftGraphContact withDepartment(String department)

Set the department property: The contact's department.

Parameters:

department - the department value to set.

Returns:

the MicrosoftGraphContact object itself.

withDisplayName

public MicrosoftGraphContact withDisplayName(String displayName)

Set the displayName property: The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphContact object itself.

withEmailAddresses

public MicrosoftGraphContact withEmailAddresses(List emailAddresses)

Set the emailAddresses property: The contact's email addresses.

Parameters:

emailAddresses - the emailAddresses value to set.

Returns:

the MicrosoftGraphContact object itself.

withExtensions

public MicrosoftGraphContact withExtensions(List extensions)

Set the extensions property: The collection of open extensions defined for the contact. Read-only. Nullable.

Parameters:

extensions - the extensions value to set.

Returns:

the MicrosoftGraphContact object itself.

withFileAs

public MicrosoftGraphContact withFileAs(String fileAs)

Set the fileAs property: The name the contact is filed under.

Parameters:

fileAs - the fileAs value to set.

Returns:

the MicrosoftGraphContact object itself.

withGeneration

public MicrosoftGraphContact withGeneration(String generation)

Set the generation property: The contact's generation.

Parameters:

generation - the generation value to set.

Returns:

the MicrosoftGraphContact object itself.

withGivenName

public MicrosoftGraphContact withGivenName(String givenName)

Set the givenName property: The contact's given name.

Parameters:

givenName - the givenName value to set.

Returns:

the MicrosoftGraphContact object itself.

withHomeAddress

public MicrosoftGraphContact withHomeAddress(MicrosoftGraphPhysicalAddress homeAddress)

Set the homeAddress property: physicalAddress.

Parameters:

homeAddress - the homeAddress value to set.

Returns:

the MicrosoftGraphContact object itself.

withHomePhones

public MicrosoftGraphContact withHomePhones(List homePhones)

Set the homePhones property: The contact's home phone numbers.

Parameters:

homePhones - the homePhones value to set.

Returns:

the MicrosoftGraphContact object itself.

withId

public MicrosoftGraphContact withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphContact.withId(String id)

Parameters:

id

withImAddresses

public MicrosoftGraphContact withImAddresses(List imAddresses)

Set the imAddresses property: The contact's instant messaging (IM) addresses.

Parameters:

imAddresses - the imAddresses value to set.

Returns:

the MicrosoftGraphContact object itself.

withInitials

public MicrosoftGraphContact withInitials(String initials)

Set the initials property: The contact's initials.

Parameters:

initials - the initials value to set.

Returns:

the MicrosoftGraphContact object itself.

withJobTitle

public MicrosoftGraphContact withJobTitle(String jobTitle)

Set the jobTitle property: The contact\u2019s job title.

Parameters:

jobTitle - the jobTitle value to set.

Returns:

the MicrosoftGraphContact object itself.

withLastModifiedDateTime

public MicrosoftGraphContact withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Overrides:

MicrosoftGraphContact.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withManager

public MicrosoftGraphContact withManager(String manager)

Set the manager property: The name of the contact's manager.

Parameters:

manager - the manager value to set.

Returns:

the MicrosoftGraphContact object itself.

withMiddleName

public MicrosoftGraphContact withMiddleName(String middleName)

Set the middleName property: The contact's middle name.

Parameters:

middleName - the middleName value to set.

Returns:

the MicrosoftGraphContact object itself.

withMobilePhone

public MicrosoftGraphContact withMobilePhone(String mobilePhone)

Set the mobilePhone property: The contact's mobile phone number.

Parameters:

mobilePhone - the mobilePhone value to set.

Returns:

the MicrosoftGraphContact object itself.

withMultiValueExtendedProperties

public MicrosoftGraphContact withMultiValueExtendedProperties(List multiValueExtendedProperties)

Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact. Read-only. Nullable.

Parameters:

multiValueExtendedProperties - the multiValueExtendedProperties value to set.

Returns:

the MicrosoftGraphContact object itself.

withNickName

public MicrosoftGraphContact withNickName(String nickName)

Set the nickName property: The contact's nickname.

Parameters:

nickName - the nickName value to set.

Returns:

the MicrosoftGraphContact object itself.

withOfficeLocation

public MicrosoftGraphContact withOfficeLocation(String officeLocation)

Set the officeLocation property: The location of the contact's office.

Parameters:

officeLocation - the officeLocation value to set.

Returns:

the MicrosoftGraphContact object itself.

withOtherAddress

public MicrosoftGraphContact withOtherAddress(MicrosoftGraphPhysicalAddress otherAddress)

Set the otherAddress property: physicalAddress.

Parameters:

otherAddress - the otherAddress value to set.

Returns:

the MicrosoftGraphContact object itself.

withParentFolderId

public MicrosoftGraphContact withParentFolderId(String parentFolderId)

Set the parentFolderId property: The ID of the contact's parent folder.

Parameters:

parentFolderId - the parentFolderId value to set.

Returns:

the MicrosoftGraphContact object itself.

withPersonalNotes

public MicrosoftGraphContact withPersonalNotes(String personalNotes)

Set the personalNotes property: The user's notes about the contact.

Parameters:

personalNotes - the personalNotes value to set.

Returns:

the MicrosoftGraphContact object itself.

withPhoto

public MicrosoftGraphContact withPhoto(MicrosoftGraphProfilePhoto photo)

Set the photo property: profilePhoto.

Parameters:

photo - the photo value to set.

Returns:

the MicrosoftGraphContact object itself.

withProfession

public MicrosoftGraphContact withProfession(String profession)

Set the profession property: The contact's profession.

Parameters:

profession - the profession value to set.

Returns:

the MicrosoftGraphContact object itself.

withSingleValueExtendedProperties

public MicrosoftGraphContact withSingleValueExtendedProperties(List singleValueExtendedProperties)

Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact. Read-only. Nullable.

Parameters:

singleValueExtendedProperties - the singleValueExtendedProperties value to set.

Returns:

the MicrosoftGraphContact object itself.

withSpouseName

public MicrosoftGraphContact withSpouseName(String spouseName)

Set the spouseName property: The name of the contact's spouse/partner.

Parameters:

spouseName - the spouseName value to set.

Returns:

the MicrosoftGraphContact object itself.

withSurname

public MicrosoftGraphContact withSurname(String surname)

Set the surname property: The contact's surname.

Parameters:

surname - the surname value to set.

Returns:

the MicrosoftGraphContact object itself.

withTitle

public MicrosoftGraphContact withTitle(String title)

Set the title property: The contact's title.

Parameters:

title - the title value to set.

Returns:

the MicrosoftGraphContact object itself.

withYomiCompanyName

public MicrosoftGraphContact withYomiCompanyName(String yomiCompanyName)

Set the yomiCompanyName property: The phonetic Japanese company name of the contact.

Parameters:

yomiCompanyName - the yomiCompanyName value to set.

Returns:

the MicrosoftGraphContact object itself.

withYomiGivenName

public MicrosoftGraphContact withYomiGivenName(String yomiGivenName)

Set the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.

Parameters:

yomiGivenName - the yomiGivenName value to set.

Returns:

the MicrosoftGraphContact object itself.

withYomiSurname

public MicrosoftGraphContact withYomiSurname(String yomiSurname)

Set the yomiSurname property: The phonetic Japanese surname (last name) of the contact.

Parameters:

yomiSurname - the yomiSurname value to set.

Returns:

the MicrosoftGraphContact object itself.

yomiCompanyName

public String yomiCompanyName()

Get the yomiCompanyName property: The phonetic Japanese company name of the contact.

Returns:

the yomiCompanyName value.

yomiGivenName

public String yomiGivenName()

Get the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.

Returns:

the yomiGivenName value.

yomiSurname

public String yomiSurname()

Get the yomiSurname property: The phonetic Japanese surname (last name) of the contact.

Returns:

the yomiSurname value.

Applies to