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.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<MicrosoftGraphExtensionInner>
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.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’s 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.MicrosoftGraphProfilePhotoInner
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.void
validate()
Validates the instance.MicrosoftGraphContactInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: contact.MicrosoftGraphContactInner
withAssistantName(String assistantName)
Set the assistantName property: The name of the contact's assistant.MicrosoftGraphContactInner
withBirthday(OffsetDateTime birthday)
Set the birthday property: The contact's birthday.MicrosoftGraphContactInner
withBusinessAddress(MicrosoftGraphPhysicalAddress businessAddress)
Set the businessAddress property: physicalAddress.MicrosoftGraphContactInner
withBusinessHomePage(String businessHomePage)
Set the businessHomePage property: The business home page of the contact.MicrosoftGraphContactInner
withBusinessPhones(List<String> businessPhones)
Set the businessPhones property: The contact's business phone numbers.MicrosoftGraphContactInner
withCategories(List<String> categories)
Set the categories property: The categories associated with the item.MicrosoftGraphContactInner
withChangeKey(String changeKey)
Set the changeKey property: Identifies the version of the item.MicrosoftGraphContactInner
withChildren(List<String> children)
Set the children property: The names of the contact's children.MicrosoftGraphContactInner
withCompanyName(String companyName)
Set the companyName property: The name of the contact's company.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.MicrosoftGraphContactInner
withDepartment(String department)
Set the department property: The contact's department.MicrosoftGraphContactInner
withDisplayName(String displayName)
Set the displayName property: The contact's display name.MicrosoftGraphContactInner
withEmailAddresses(List<MicrosoftGraphEmailAddress> emailAddresses)
Set the emailAddresses property: The contact's email addresses.MicrosoftGraphContactInner
withExtensions(List<MicrosoftGraphExtensionInner> extensions)
Set the extensions property: The collection of open extensions defined for the contact.MicrosoftGraphContactInner
withFileAs(String fileAs)
Set the fileAs property: The name the contact is filed under.MicrosoftGraphContactInner
withGeneration(String generation)
Set the generation property: The contact's generation.MicrosoftGraphContactInner
withGivenName(String givenName)
Set the givenName property: The contact's given name.MicrosoftGraphContactInner
withHomeAddress(MicrosoftGraphPhysicalAddress homeAddress)
Set the homeAddress property: physicalAddress.MicrosoftGraphContactInner
withHomePhones(List<String> homePhones)
Set the homePhones property: The contact's home phone numbers.MicrosoftGraphContactInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphContactInner
withImAddresses(List<String> imAddresses)
Set the imAddresses property: The contact's instant messaging (IM) addresses.MicrosoftGraphContactInner
withInitials(String initials)
Set the initials property: The contact's initials.MicrosoftGraphContactInner
withJobTitle(String jobTitle)
Set the jobTitle property: The contact’s job title.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.MicrosoftGraphContactInner
withManager(String manager)
Set the manager property: The name of the contact's manager.MicrosoftGraphContactInner
withMiddleName(String middleName)
Set the middleName property: The contact's middle name.MicrosoftGraphContactInner
withMobilePhone(String mobilePhone)
Set the mobilePhone property: The contact's mobile phone number.MicrosoftGraphContactInner
withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contact.MicrosoftGraphContactInner
withNickName(String nickName)
Set the nickName property: The contact's nickname.MicrosoftGraphContactInner
withOfficeLocation(String officeLocation)
Set the officeLocation property: The location of the contact's office.MicrosoftGraphContactInner
withOtherAddress(MicrosoftGraphPhysicalAddress otherAddress)
Set the otherAddress property: physicalAddress.MicrosoftGraphContactInner
withParentFolderId(String parentFolderId)
Set the parentFolderId property: The ID of the contact's parent folder.MicrosoftGraphContactInner
withPersonalNotes(String personalNotes)
Set the personalNotes property: The user's notes about the contact.MicrosoftGraphContactInner
withPhoto(MicrosoftGraphProfilePhotoInner photo)
Set the photo property: profilePhoto.MicrosoftGraphContactInner
withProfession(String profession)
Set the profession property: The contact's profession.MicrosoftGraphContactInner
withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contact.MicrosoftGraphContactInner
withSpouseName(String spouseName)
Set the spouseName property: The name of the contact's spouse/partner.MicrosoftGraphContactInner
withSurname(String surname)
Set the surname property: The contact's surname.MicrosoftGraphContactInner
withTitle(String title)
Set the title property: The contact's title.MicrosoftGraphContactInner
withYomiCompanyName(String yomiCompanyName)
Set the yomiCompanyName property: The phonetic Japanese company name of the contact.MicrosoftGraphContactInner
withYomiGivenName(String yomiGivenName)
Set the yomiGivenName property: The phonetic Japanese given name (first name) of the contact.MicrosoftGraphContactInner
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 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:
additionalProperties
in classMicrosoftGraphOutlookItem
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphContactInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: contact.- Overrides:
withAdditionalProperties
in 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:
withCategories
in 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:
withChangeKey
in 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:
withCreatedDateTime
in 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:
withLastModifiedDateTime
in 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:
withId
in classMicrosoftGraphOutlookItem
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphOutlookItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-