Class MicrosoftGraphContactInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOutlookItem
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContactInner
-
public final class MicrosoftGraphContactInner extends MicrosoftGraphOutlookItem
contact.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphContactInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: contact.StringassistantName()Get the assistantName property: The name of the contact's assistant.OffsetDateTimebirthday()Get the birthday property: The contact's birthday.MicrosoftGraphPhysicalAddressbusinessAddress()Get the businessAddress property: physicalAddress.StringbusinessHomePage()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.StringcompanyName()Get the companyName property: The name of the contact's company.Stringdepartment()Get the department property: The contact's department.StringdisplayName()Get the displayName property: The contact's display name.List<MicrosoftGraphEmailAddress>emailAddresses()Get the emailAddresses property: The contact's email addresses.List<MicrosoftGraphExtensionInner>extensions()Get the extensions property: The collection of open extensions defined for the contact.StringfileAs()Get the fileAs property: The name the contact is filed under.Stringgeneration()Get the generation property: The contact's generation.StringgivenName()Get the givenName property: The contact's given name.MicrosoftGraphPhysicalAddresshomeAddress()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.Stringinitials()Get the initials property: The contact's initials.StringjobTitle()Get the jobTitle property: The contact’s job title.Stringmanager()Get the manager property: The name of the contact's manager.StringmiddleName()Get the middleName property: The contact's middle name.StringmobilePhone()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.StringnickName()Get the nickName property: The contact's nickname.StringofficeLocation()Get the officeLocation property: The location of the contact's office.MicrosoftGraphPhysicalAddressotherAddress()Get the otherAddress property: physicalAddress.StringparentFolderId()Get the parentFolderId property: The ID of the contact's parent folder.StringpersonalNotes()Get the personalNotes property: The user's notes about the contact.MicrosoftGraphProfilePhotoInnerphoto()Get the photo property: profilePhoto.Stringprofession()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.StringspouseName()Get the spouseName property: The name of the contact's spouse/partner.Stringsurname()Get the surname property: The contact's surname.Stringtitle()Get the title property: The contact's title.voidvalidate()Validates the instance.MicrosoftGraphContactInnerwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: contact.MicrosoftGraphContactInnerwithAssistantName(String assistantName)Set the assistantName property: The name of the contact's assistant.MicrosoftGraphContactInnerwithBirthday(OffsetDateTime birthday)Set the birthday property: The contact's birthday.MicrosoftGraphContactInnerwithBusinessAddress(MicrosoftGraphPhysicalAddress businessAddress)Set the businessAddress property: physicalAddress.MicrosoftGraphContactInnerwithBusinessHomePage(String businessHomePage)Set the businessHomePage property: The business home page of the contact.MicrosoftGraphContactInnerwithBusinessPhones(List<String> businessPhones)Set the businessPhones property: The contact's business phone numbers.MicrosoftGraphContactInnerwithCategories(List<String> categories)Set the categories property: The categories associated with the item.MicrosoftGraphContactInnerwithChangeKey(String changeKey)Set the changeKey property: Identifies the version of the item.MicrosoftGraphContactInnerwithChildren(List<String> children)Set the children property: The names of the contact's children.MicrosoftGraphContactInnerwithCompanyName(String companyName)Set the companyName property: The name of the contact's company.MicrosoftGraphContactInnerwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphContactInnerwithDepartment(String department)Set the department property: The contact's department.MicrosoftGraphContactInnerwithDisplayName(String displayName)Set the displayName property: The contact's display name.MicrosoftGraphContactInnerwithEmailAddresses(List<MicrosoftGraphEmailAddress> emailAddresses)Set the emailAddresses property: The contact's email addresses.MicrosoftGraphContactInnerwithExtensions(List<MicrosoftGraphExtensionInner> extensions)Set the extensions property: The collection of open extensions defined for the contact.MicrosoftGraphContactInnerwithFileAs(String fileAs)Set the fileAs property: The name the contact is filed under.MicrosoftGraphContactInnerwithGeneration(String generation)Set the generation property: The contact's generation.MicrosoftGraphContactInnerwithGivenName(String givenName)Set the givenName property: The contact's given name.MicrosoftGraphContactInnerwithHomeAddress(MicrosoftGraphPhysicalAddress homeAddress)Set the homeAddress property: physicalAddress.MicrosoftGraphContactInnerwithHomePhones(List<String> homePhones)Set the homePhones property: The contact's home phone numbers.MicrosoftGraphContactInnerwithId(String id)Set the id property: Read-only.MicrosoftGraphContactInnerwithImAddresses(List<String> imAddresses)Set the imAddresses property: The contact's instant messaging (IM) addresses.MicrosoftGraphContactInnerwithInitials(String initials)Set the initials property: The contact's initials.MicrosoftGraphContactInnerwithJobTitle(String jobTitle)Set the jobTitle property: The contact’s job title.MicrosoftGraphContactInnerwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphContactInnerwithManager(String manager)Set the manager property: The name of the contact's manager.MicrosoftGraphContactInnerwithMiddleName(String middleName)Set the middleName property: The contact's middle name.MicrosoftGraphContactInnerwithMobilePhone(String mobilePhone)Set the mobilePhone property: The contact's mobile phone number.MicrosoftGraphContactInnerwithMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact.MicrosoftGraphContactInnerwithNickName(String nickName)Set the nickName property: The contact's nickname.MicrosoftGraphContactInnerwithOfficeLocation(String officeLocation)Set the officeLocation property: The location of the contact's office.MicrosoftGraphContactInnerwithOtherAddress(MicrosoftGraphPhysicalAddress otherAddress)Set the otherAddress property: physicalAddress.MicrosoftGraphContactInnerwithParentFolderId(String parentFolderId)Set the parentFolderId property: The ID of the contact's parent folder.MicrosoftGraphContactInnerwithPersonalNotes(String personalNotes)Set the personalNotes property: The user's notes about the contact.MicrosoftGraphContactInnerwithPhoto(MicrosoftGraphProfilePhotoInner photo)Set the photo property: profilePhoto.MicrosoftGraphContactInnerwithProfession(String profession)Set the profession property: The contact's profession.MicrosoftGraphContactInnerwithSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact.MicrosoftGraphContactInnerwithSpouseName(String spouseName)Set the spouseName property: The name of the contact's spouse/partner.MicrosoftGraphContactInnerwithSurname(String surname)Set the surname property: The contact's surname.MicrosoftGraphContactInnerwithTitle(String title)Set the title property: The contact's title.MicrosoftGraphContactInnerwithYomiCompanyName(String yomiCompanyName)Set the yomiCompanyName property: The phonetic Japanese company name of the contact.MicrosoftGraphContactInnerwithYomiGivenName(String yomiGivenName)Set the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.MicrosoftGraphContactInnerwithYomiSurname(String yomiSurname)Set the yomiSurname property: The phonetic Japanese surname (last name) of the contact.StringyomiCompanyName()Get the yomiCompanyName property: The phonetic Japanese company name of the contact.StringyomiGivenName()Get the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.StringyomiSurname()Get the yomiSurname property: The phonetic Japanese surname (last name) of the contact.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOutlookItem
categories, changeKey, createdDateTime, lastModifiedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
assistantName
public String assistantName()
Get the assistantName property: The name of the contact's assistant.- Returns:
- the assistantName value.
-
withAssistantName
public MicrosoftGraphContactInner withAssistantName(String assistantName)
Set the assistantName property: The name of the contact's assistant.- Parameters:
assistantName- the assistantName value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
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.
-
withBirthday
public MicrosoftGraphContactInner 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 MicrosoftGraphContactInner object itself.
-
businessAddress
public MicrosoftGraphPhysicalAddress businessAddress()
Get the businessAddress property: physicalAddress.- Returns:
- the businessAddress value.
-
withBusinessAddress
public MicrosoftGraphContactInner withBusinessAddress(MicrosoftGraphPhysicalAddress businessAddress)
Set the businessAddress property: physicalAddress.- Parameters:
businessAddress- the businessAddress value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
businessHomePage
public String businessHomePage()
Get the businessHomePage property: The business home page of the contact.- Returns:
- the businessHomePage value.
-
withBusinessHomePage
public MicrosoftGraphContactInner withBusinessHomePage(String businessHomePage)
Set the businessHomePage property: The business home page of the contact.- Parameters:
businessHomePage- the businessHomePage value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
businessPhones
public List<String> businessPhones()
Get the businessPhones property: The contact's business phone numbers.- Returns:
- the businessPhones value.
-
withBusinessPhones
public MicrosoftGraphContactInner withBusinessPhones(List<String> businessPhones)
Set the businessPhones property: The contact's business phone numbers.- Parameters:
businessPhones- the businessPhones value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
children
public List<String> children()
Get the children property: The names of the contact's children.- Returns:
- the children value.
-
withChildren
public MicrosoftGraphContactInner withChildren(List<String> children)
Set the children property: The names of the contact's children.- Parameters:
children- the children value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
companyName
public String companyName()
Get the companyName property: The name of the contact's company.- Returns:
- the companyName value.
-
withCompanyName
public MicrosoftGraphContactInner withCompanyName(String companyName)
Set the companyName property: The name of the contact's company.- Parameters:
companyName- the companyName value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
department
public String department()
Get the department property: The contact's department.- Returns:
- the department value.
-
withDepartment
public MicrosoftGraphContactInner withDepartment(String department)
Set the department property: The contact's department.- Parameters:
department- the department value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
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.
-
withDisplayName
public MicrosoftGraphContactInner 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 MicrosoftGraphContactInner object itself.
-
emailAddresses
public List<MicrosoftGraphEmailAddress> emailAddresses()
Get the emailAddresses property: The contact's email addresses.- Returns:
- the emailAddresses value.
-
withEmailAddresses
public MicrosoftGraphContactInner withEmailAddresses(List<MicrosoftGraphEmailAddress> emailAddresses)
Set the emailAddresses property: The contact's email addresses.- Parameters:
emailAddresses- the emailAddresses value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
fileAs
public String fileAs()
Get the fileAs property: The name the contact is filed under.- Returns:
- the fileAs value.
-
withFileAs
public MicrosoftGraphContactInner withFileAs(String fileAs)
Set the fileAs property: The name the contact is filed under.- Parameters:
fileAs- the fileAs value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
generation
public String generation()
Get the generation property: The contact's generation.- Returns:
- the generation value.
-
withGeneration
public MicrosoftGraphContactInner withGeneration(String generation)
Set the generation property: The contact's generation.- Parameters:
generation- the generation value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
givenName
public String givenName()
Get the givenName property: The contact's given name.- Returns:
- the givenName value.
-
withGivenName
public MicrosoftGraphContactInner withGivenName(String givenName)
Set the givenName property: The contact's given name.- Parameters:
givenName- the givenName value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
homeAddress
public MicrosoftGraphPhysicalAddress homeAddress()
Get the homeAddress property: physicalAddress.- Returns:
- the homeAddress value.
-
withHomeAddress
public MicrosoftGraphContactInner withHomeAddress(MicrosoftGraphPhysicalAddress homeAddress)
Set the homeAddress property: physicalAddress.- Parameters:
homeAddress- the homeAddress value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
homePhones
public List<String> homePhones()
Get the homePhones property: The contact's home phone numbers.- Returns:
- the homePhones value.
-
withHomePhones
public MicrosoftGraphContactInner withHomePhones(List<String> homePhones)
Set the homePhones property: The contact's home phone numbers.- Parameters:
homePhones- the homePhones value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
imAddresses
public List<String> imAddresses()
Get the imAddresses property: The contact's instant messaging (IM) addresses.- Returns:
- the imAddresses value.
-
withImAddresses
public MicrosoftGraphContactInner withImAddresses(List<String> imAddresses)
Set the imAddresses property: The contact's instant messaging (IM) addresses.- Parameters:
imAddresses- the imAddresses value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
initials
public String initials()
Get the initials property: The contact's initials.- Returns:
- the initials value.
-
withInitials
public MicrosoftGraphContactInner withInitials(String initials)
Set the initials property: The contact's initials.- Parameters:
initials- the initials value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
jobTitle
public String jobTitle()
Get the jobTitle property: The contact’s job title.- Returns:
- the jobTitle value.
-
withJobTitle
public MicrosoftGraphContactInner withJobTitle(String jobTitle)
Set the jobTitle property: The contact’s job title.- Parameters:
jobTitle- the jobTitle value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
manager
public String manager()
Get the manager property: The name of the contact's manager.- Returns:
- the manager value.
-
withManager
public MicrosoftGraphContactInner withManager(String manager)
Set the manager property: The name of the contact's manager.- Parameters:
manager- the manager value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
middleName
public String middleName()
Get the middleName property: The contact's middle name.- Returns:
- the middleName value.
-
withMiddleName
public MicrosoftGraphContactInner withMiddleName(String middleName)
Set the middleName property: The contact's middle name.- Parameters:
middleName- the middleName value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
mobilePhone
public String mobilePhone()
Get the mobilePhone property: The contact's mobile phone number.- Returns:
- the mobilePhone value.
-
withMobilePhone
public MicrosoftGraphContactInner withMobilePhone(String mobilePhone)
Set the mobilePhone property: The contact's mobile phone number.- Parameters:
mobilePhone- the mobilePhone value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
nickName
public String nickName()
Get the nickName property: The contact's nickname.- Returns:
- the nickName value.
-
withNickName
public MicrosoftGraphContactInner withNickName(String nickName)
Set the nickName property: The contact's nickname.- Parameters:
nickName- the nickName value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
officeLocation
public String officeLocation()
Get the officeLocation property: The location of the contact's office.- Returns:
- the officeLocation value.
-
withOfficeLocation
public MicrosoftGraphContactInner withOfficeLocation(String officeLocation)
Set the officeLocation property: The location of the contact's office.- Parameters:
officeLocation- the officeLocation value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
otherAddress
public MicrosoftGraphPhysicalAddress otherAddress()
Get the otherAddress property: physicalAddress.- Returns:
- the otherAddress value.
-
withOtherAddress
public MicrosoftGraphContactInner withOtherAddress(MicrosoftGraphPhysicalAddress otherAddress)
Set the otherAddress property: physicalAddress.- Parameters:
otherAddress- the otherAddress value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
parentFolderId
public String parentFolderId()
Get the parentFolderId property: The ID of the contact's parent folder.- Returns:
- the parentFolderId value.
-
withParentFolderId
public MicrosoftGraphContactInner withParentFolderId(String parentFolderId)
Set the parentFolderId property: The ID of the contact's parent folder.- Parameters:
parentFolderId- the parentFolderId value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
personalNotes
public String personalNotes()
Get the personalNotes property: The user's notes about the contact.- Returns:
- the personalNotes value.
-
withPersonalNotes
public MicrosoftGraphContactInner withPersonalNotes(String personalNotes)
Set the personalNotes property: The user's notes about the contact.- Parameters:
personalNotes- the personalNotes value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
profession
public String profession()
Get the profession property: The contact's profession.- Returns:
- the profession value.
-
withProfession
public MicrosoftGraphContactInner withProfession(String profession)
Set the profession property: The contact's profession.- Parameters:
profession- the profession value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
spouseName
public String spouseName()
Get the spouseName property: The name of the contact's spouse/partner.- Returns:
- the spouseName value.
-
withSpouseName
public MicrosoftGraphContactInner withSpouseName(String spouseName)
Set the spouseName property: The name of the contact's spouse/partner.- Parameters:
spouseName- the spouseName value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
surname
public String surname()
Get the surname property: The contact's surname.- Returns:
- the surname value.
-
withSurname
public MicrosoftGraphContactInner withSurname(String surname)
Set the surname property: The contact's surname.- Parameters:
surname- the surname value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
title
public String title()
Get the title property: The contact's title.- Returns:
- the title value.
-
withTitle
public MicrosoftGraphContactInner withTitle(String title)
Set the title property: The contact's title.- Parameters:
title- the title value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
yomiCompanyName
public String yomiCompanyName()
Get the yomiCompanyName property: The phonetic Japanese company name of the contact.- Returns:
- the yomiCompanyName value.
-
withYomiCompanyName
public MicrosoftGraphContactInner withYomiCompanyName(String yomiCompanyName)
Set the yomiCompanyName property: The phonetic Japanese company name of the contact.- Parameters:
yomiCompanyName- the yomiCompanyName value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
yomiGivenName
public String yomiGivenName()
Get the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.- Returns:
- the yomiGivenName value.
-
withYomiGivenName
public MicrosoftGraphContactInner 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 MicrosoftGraphContactInner object itself.
-
yomiSurname
public String yomiSurname()
Get the yomiSurname property: The phonetic Japanese surname (last name) of the contact.- Returns:
- the yomiSurname value.
-
withYomiSurname
public MicrosoftGraphContactInner 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 MicrosoftGraphContactInner object itself.
-
extensions
public List<MicrosoftGraphExtensionInner> extensions()
Get the extensions property: The collection of open extensions defined for the contact. Read-only. Nullable.- Returns:
- the extensions value.
-
withExtensions
public MicrosoftGraphContactInner withExtensions(List<MicrosoftGraphExtensionInner> 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 MicrosoftGraphContactInner object itself.
-
multiValueExtendedProperties
public List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties()
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact. Read-only. Nullable.- Returns:
- the multiValueExtendedProperties value.
-
withMultiValueExtendedProperties
public MicrosoftGraphContactInner withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> 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 MicrosoftGraphContactInner object itself.
-
photo
public MicrosoftGraphProfilePhotoInner photo()
Get the photo property: profilePhoto.- Returns:
- the photo value.
-
withPhoto
public MicrosoftGraphContactInner withPhoto(MicrosoftGraphProfilePhotoInner photo)
Set the photo property: profilePhoto.- Parameters:
photo- the photo value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
singleValueExtendedProperties
public List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties()
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact. Read-only. Nullable.- Returns:
- the singleValueExtendedProperties value.
-
withSingleValueExtendedProperties
public MicrosoftGraphContactInner withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> 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 MicrosoftGraphContactInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: contact.- Overrides:
additionalPropertiesin classMicrosoftGraphOutlookItem- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphContactInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: contact.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphOutlookItem- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphContactInner object itself.
-
withCategories
public MicrosoftGraphContactInner withCategories(List<String> categories)
Set the categories property: The categories associated with the item.- Overrides:
withCategoriesin classMicrosoftGraphOutlookItem- Parameters:
categories- the categories value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withChangeKey
public MicrosoftGraphContactInner 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:
withChangeKeyin classMicrosoftGraphOutlookItem- Parameters:
changeKey- the changeKey value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withCreatedDateTime
public MicrosoftGraphContactInner 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:
withCreatedDateTimein classMicrosoftGraphOutlookItem- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withLastModifiedDateTime
public MicrosoftGraphContactInner 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:
withLastModifiedDateTimein classMicrosoftGraphOutlookItem- Parameters:
lastModifiedDateTime- the lastModifiedDateTime value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withId
public MicrosoftGraphContactInner withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphOutlookItem- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphOutlookItem- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-